]> granicus.if.org Git - php/commitdiff
Restored signed format specifier
authorDmitry Stogov <dmitry@zend.com>
Tue, 21 Jun 2016 17:12:04 +0000 (20:12 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 21 Jun 2016 17:12:04 +0000 (20:12 +0300)
ext/session/php_session.h

index 9b4d40bac933123d0690762920f0afd718fc0a7f..37e66a00b3409d01b4e2bf5a04077e78e0cbb865 100644 (file)
@@ -299,11 +299,11 @@ PHPAPI void php_session_reset_id(void);
        HashTable *_ht = Z_ARRVAL_P(Z_REFVAL(PS(http_session_vars)));   \
        ZEND_HASH_FOREACH_KEY(_ht, num_key, key) {                                              \
                if (key == NULL) {                                                                                      \
-                       php_error_docref(NULL, E_NOTICE,                                \
-                                       "Skipping numeric key " ZEND_ULONG_FMT, num_key);                       \
+                       php_error_docref(NULL, E_NOTICE,                                                \
+                                       "Skipping numeric key " ZEND_LONG_FMT, num_key);\
                        continue;                                                                                               \
                }                                                                                                                       \
-               if ((struc = php_get_session_var(key))) {                       \
+               if ((struc = php_get_session_var(key))) {                                       \
                        code;                                                                                                   \
                }                                                                                                                       \
        } ZEND_HASH_FOREACH_END();                                                                              \