From: Ilia Alshanetsky Date: Mon, 16 Mar 2009 12:52:39 +0000 (+0000) Subject: Fixed compiler warnings X-Git-Tag: php-5.3.0RC1~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea27fd2ba36a3027a74729f7e594b4b665d97b8d;p=php Fixed compiler warnings --- diff --git a/ext/fileinfo/libmagic/cdf.c b/ext/fileinfo/libmagic/cdf.c index 9d8d042f16..152e6a5013 100644 --- a/ext/fileinfo/libmagic/cdf.c +++ b/ext/fileinfo/libmagic/cdf.c @@ -395,7 +395,7 @@ cdf_read_long_sector_chain(int fd, const cdf_header_t *h, const cdf_sat_t *sat, return 0; out: free(scn->sst_tab); - return (size_t)-1; + return -1; } int @@ -430,7 +430,7 @@ cdf_read_short_sector_chain(const cdf_header_t *h, return 0; out: free(scn->sst_tab); - return (size_t)-1; + return -1; } int