]> granicus.if.org Git - php/commitdiff
Fix types of bug_compat entries
authorSascha Schumann <sas@php.net>
Sat, 10 May 2003 16:49:21 +0000 (16:49 +0000)
committerSascha Schumann <sas@php.net>
Sat, 10 May 2003 16:49:21 +0000 (16:49 +0000)
PR: #21312
Submitted by: Rob Richards <rrichards@ctindustries.net>

ext/session/php_session.h

index 05e319d56a6ba02b65e6c7a3bf9e83893d320671..13f17d73a6bb80f0057dc077672a78279978b67c 100644 (file)
@@ -109,8 +109,8 @@ typedef struct _php_ps_globals {
        long gc_maxlifetime;
        int module_number;
        long cache_expire;
-       long bug_compat; /* Whether to behave like PHP 4.2 and earlier */
-       long bug_compat_warn; /* Whether to warn about it */
+       zend_bool bug_compat; /* Whether to behave like PHP 4.2 and earlier */
+       zend_bool bug_compat_warn; /* Whether to warn about it */
        const struct ps_serializer_struct *serializer;
        zval *http_session_vars;
        zend_bool auto_start;