libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit abc7c3ae982caf2d114c8a7daf56fdff042aef99
parent 9d7c6bd9f28c34d42a01d62473b295f3aed6766d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  8 Mar 2010 10:32:28 +0000

fixing warning

Diffstat:
Msrc/main/extractor.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/extractor.c b/src/main/extractor.c @@ -1165,7 +1165,7 @@ process_requests (struct EXTRACTOR_PluginList *plugin, #ifndef WINDOWS if ( (-1 != (shmid = shm_open (fn, O_RDONLY, 0))) && - (((off_t)-1) != (size = lseek (shmid, 0, SEEK_END))) && + (((size_t)-1) != (size = lseek (shmid, 0, SEEK_END))) && (NULL != (ptr = mmap (NULL, size, PROT_READ, MAP_SHARED, shmid, 0))) && (ptr != (void*) -1) ) #else