Skip to content

Commit fd69ada

Browse files
committed
Use bool instead of int in session struct
1 parent 2124ae0 commit fd69ada

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/session/php_session.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ typedef struct _php_ps_globals {
186186

187187
zend_long sid_length;
188188
zend_long sid_bits_per_character;
189-
int send_cookie;
190-
int define_sid;
189+
bool send_cookie;
190+
bool define_sid;
191191

192192
php_session_rfc1867_progress *rfc1867_progress;
193193
bool rfc1867_enabled; /* session.upload_progress.enabled */

0 commit comments

Comments
 (0)