From 29657cb81bd3fd3489b944ad4187007ea0ac7f8d Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 11 Jul 2007 15:33:50 +0300 Subject: 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 :) --- build/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') 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; -- cgit v1.2.3