summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-11 15:33:50 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-11 15:33:50 +0300
commit29657cb81bd3fd3489b944ad4187007ea0ac7f8d (patch)
tree60622fe88abc5cd9bbbf75a240e951709569a552 /lib
parent4ec63d707bc53627717a0c4687b25c0a7106a0d2 (diff)
downloadlibrpm-tizen-29657cb81bd3fd3489b944ad4187007ea0ac7f8d.tar.gz
librpm-tizen-29657cb81bd3fd3489b944ad4187007ea0ac7f8d.tar.bz2
librpm-tizen-29657cb81bd3fd3489b944ad4187007ea0ac7f8d.zip
Use unsigned size type for pgpReadPkts().
Derived from rpm5.org / Ralf S. Engelschall, I was too blind to see ssize_t vs size_t, duh :)
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmchecksig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmchecksig.c b/lib/rpmchecksig.c
index 552ebb5f2..4a2b20ea0 100644
--- a/lib/rpmchecksig.c
+++ b/lib/rpmchecksig.c
@@ -571,7 +571,7 @@ static int rpmcliImportPubkeys(const rpmts ts,
{
const char * fn;
const unsigned char * pkt = NULL;
- ssize_t pktlen = 0;
+ size_t pktlen = 0;
char * t = NULL;
int res = 0;
rpmRC rpmrc;