From: Yasuo Ohgaki Date: Sat, 10 Aug 2013 05:35:30 +0000 (+0900) Subject: Remove compile warning of commit 554021d21e1b2517313a377676260c188152c2eb X-Git-Tag: php-5.6.0alpha1~319 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2b57251157c7408eca716d6d5e98eee34ba54f0;p=php Remove compile warning of commit 554021d21e1b2517313a377676260c188152c2eb --- diff --git a/ext/session/php_session.h b/ext/session/php_session.h index ba3420ecee..4307e6afc5 100644 --- a/ext/session/php_session.h +++ b/ext/session/php_session.h @@ -180,7 +180,7 @@ typedef struct _php_ps_globals { double rfc1867_min_freq; /* session.upload_progress.min_freq */ zend_bool use_strict_mode; /* whether or not PHP accepts unknown session ids */ - char session_data_hash[16]; /* binary MD5 hash length */ + unsigned char session_data_hash[16]; /* binary MD5 hash length */ } php_ps_globals; typedef php_ps_globals zend_ps_globals; diff --git a/ext/session/session.c b/ext/session/session.c index 24299b732a..d0bafa2bee 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -540,7 +540,6 @@ static void php_session_save_current_state(TSRMLS_D) /* {{{ */ if (val) { PHP_MD5_CTX context; unsigned char digest[16]; - char md5_hash[33]; /* Generate data's MD5 hash */ PHP_MD5Init(&context);