diff options
author | Nuno Lopes <nlopess@php.net> | 2006-11-10 17:32:15 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2006-11-10 17:32:15 +0000 |
commit | fe8e53f7a78ee763dc93a5301f894d0f562ce312 (patch) | |
tree | 105b752ecc1b000d106567e5de15903b27d838ff /ext/date/lib/parse_tz.c | |
parent | 3011278aab84d35e23aab35b20819e49fbfff17f (diff) | |
download | php-git-fe8e53f7a78ee763dc93a5301f894d0f562ce312.tar.gz |
mark the binary search delimiters as unsigned, so that the compiler can use a quick shift operation
Diffstat (limited to 'ext/date/lib/parse_tz.c')
-rw-r--r-- | ext/date/lib/parse_tz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/lib/parse_tz.c b/ext/date/lib/parse_tz.c index bf7cd80861..723017eef0 100644 --- a/ext/date/lib/parse_tz.c +++ b/ext/date/lib/parse_tz.c @@ -192,7 +192,7 @@ void timelib_dump_tzinfo(timelib_tzinfo *tz) } } -static int tz_search(char *timezone, int left, int right, const timelib_tzdb *tzdb) +static int tz_search(char *timezone, unsigned int left, unsigned int right, const timelib_tzdb *tzdb) { int mid, cmp; |