diff options
| author | Antony Dovgal <tony2001@php.net> | 2006-07-11 12:37:26 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2006-07-11 12:37:26 +0000 |
| commit | af234920c6014810078bba4fb2941c31b43ba926 (patch) | |
| tree | cd10d4badfe44a17eac0e0bafeb953e5a2fccb53 | |
| parent | b52137a828b9c7be3ebfaecb46339ef35ff7db95 (diff) | |
| download | php-git-af234920c6014810078bba4fb2941c31b43ba926.tar.gz | |
MFB: eliminate compile warnings
| -rw-r--r-- | ext/date/lib/parse_tz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/lib/parse_tz.c b/ext/date/lib/parse_tz.c index d4e6014b17..46ddb9786d 100644 --- a/ext/date/lib/parse_tz.c +++ b/ext/date/lib/parse_tz.c @@ -240,8 +240,8 @@ const timelib_tzdb_index_entry *timelib_timezone_builtin_identifiers_list(int *c int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb) { - unsigned char *tzf; - return (seek_to_tz_position((unsigned char**) &tzf, timezone, tzdb)); + const unsigned char *tzf; + return (seek_to_tz_position(&tzf, timezone, tzdb)); } timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb) @@ -249,7 +249,7 @@ timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb) const unsigned char *tzf; timelib_tzinfo *tmp; - if (seek_to_tz_position((unsigned char**) &tzf, timezone, tzdb)) { + if (seek_to_tz_position(&tzf, timezone, tzdb)) { tmp = timelib_tzinfo_ctor(timezone); read_header((char**) &tzf, tmp); |
