From ea27fd2ba36a3027a74729f7e594b4b665d97b8d Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 16 Mar 2009 12:52:39 +0000 Subject: [PATCH] Fixed compiler warnings --- ext/fileinfo/libmagic/cdf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.1