Whoops, ftell() and rpmio equivalents should return long not off_t
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 15 Sep 2011 12:01:27 +0000 (15:01 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 15 Sep 2011 12:02:13 +0000 (15:02 +0300)
rpmio/rpmio.c

index e7c9fb7..683d221 100644 (file)
@@ -710,7 +710,7 @@ static int gzdClose(FD_t fd)
     return rc;
 }
 
-static off_t gzdTell(FD_t fd)
+static long gzdTell(FD_t fd)
 {
     off_t pos = -1;
     gzFile gzfile = gzdFileno(fd);