diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2011-01-23 16:44:58 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2011-01-23 16:44:58 +0000 |
| commit | 9c29975e4d72b2daae739ff35e206092d40ae3a0 (patch) | |
| tree | 909ee135d688849958d6ca8b7a2a43887ebe8b5b /ext | |
| parent | 88a1f3988c6957183c20c75e77f308224bac9df1 (diff) | |
| download | php-git-9c29975e4d72b2daae739ff35e206092d40ae3a0.tar.gz | |
Fixed compiler warning
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/filter/logical_filters.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/filter/logical_filters.c b/ext/filter/logical_filters.c index cacb468bdf..59af952c12 100644 --- a/ext/filter/logical_filters.c +++ b/ext/filter/logical_filters.c @@ -88,7 +88,7 @@ static int php_filter_parse_int(const char *str, unsigned int str_len, long *ret } if ((end - str > MAX_LENGTH_OF_LONG - 1) /* number too long */ - || (SIZEOF_LONG == 4 && end - str == MAX_LENGTH_OF_LONG - 1 && *str > '2')) { + || (SIZEOF_LONG == 4 && (end - str == MAX_LENGTH_OF_LONG - 1) && *str > '2')) { /* overflow */ return -1; } |
