projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9063d2
)
Whoops, ftell() and rpmio equivalents should return long not off_t
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 15 Sep 2011 12:01:27 +0000
(15:01 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 15 Sep 2011 12:02:13 +0000
(15:02 +0300)
rpmio/rpmio.c
patch
|
blob
|
history
diff --git
a/rpmio/rpmio.c
b/rpmio/rpmio.c
index
e7c9fb7
..
683d221
100644
(file)
--- a/
rpmio/rpmio.c
+++ b/
rpmio/rpmio.c
@@
-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);