diff options
author | Anatol Belski <ab@php.net> | 2016-09-15 13:12:26 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-10-05 22:53:21 +0200 |
commit | 4b41973ba12947d569c436db2162d0be7c25e365 (patch) | |
tree | db32f63308cf157e5f1ecc2e267f123cba299c98 /main/php_streams.h | |
parent | 41d04079e39747312ca8e7ba7117f06c399bd50e (diff) | |
download | php-git-4b41973ba12947d569c436db2162d0be7c25e365.tar.gz |
prevent flags overflows
Sometimes int is overflown. That might still come out with a right
result, but is ofc not clean.
Diffstat (limited to 'main/php_streams.h')
-rw-r--r-- | main/php_streams.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_streams.h b/main/php_streams.h index 5da29a2f4f..e205118bd7 100644 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -210,7 +210,7 @@ struct _php_stream { char *orig_path; zend_resource *ctx; - int flags; /* PHP_STREAM_FLAG_XXX */ + uint32_t flags; /* PHP_STREAM_FLAG_XXX */ int eof; |