diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2004-09-14 23:57:53 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2004-09-14 23:57:53 +0000 |
commit | 6784176b9c30c3d3705745464e63bccde5348be9 (patch) | |
tree | 0dcb794a8cd1d082fd52bdd5e1c4c7efbd00c1a9 /ext/session | |
parent | ffc2278d6e6ac6d6f2c69b604cf746942c9e010e (diff) | |
download | php-git-6784176b9c30c3d3705745464e63bccde5348be9.tar.gz |
Fixed compiler warnings.
Diffstat (limited to 'ext/session')
-rw-r--r-- | ext/session/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index d263ac6d6e..3afcf0fa40 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -424,7 +424,7 @@ PS_SERIALIZER_DECODE_FUNC(php_binary) if (has_value) { MAKE_STD_ZVAL(current); - if (php_var_unserialize(¤t, &p, endptr, &var_hash TSRMLS_CC)) { + if (php_var_unserialize(¤t, (const unsigned char **) &p, endptr, &var_hash TSRMLS_CC)) { php_set_session_var(name, namelen, current, &var_hash TSRMLS_CC); } zval_ptr_dtor(¤t); @@ -504,7 +504,7 @@ PS_SERIALIZER_DECODE_FUNC(php) if (has_value) { ALLOC_INIT_ZVAL(current); - if (php_var_unserialize(¤t, &q, endptr, &var_hash TSRMLS_CC)) { + if (php_var_unserialize(¤t, (const unsigned char **) &q, endptr, &var_hash TSRMLS_CC)) { php_set_session_var(name, namelen, current, &var_hash TSRMLS_CC); } zval_ptr_dtor(¤t); |