summaryrefslogtreecommitdiff
path: root/build
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 /build
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 'build')
-rw-r--r--build/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/files.c b/build/files.c
index 4ec9e3801..9014f6e43 100644
--- a/build/files.c
+++ b/build/files.c
@@ -1780,7 +1780,7 @@ static int processMetadataFile(Package pkg, FileList fl, const char * fileURL,
const char * fn = NULL;
const char * apkt = NULL;
const unsigned char * pkt = NULL;
- ssize_t pktlen = 0;
+ size_t pktlen = 0;
int absolute = 0;
int rc = 1;
int xx;