summaryrefslogtreecommitdiff
path: root/rpmio/rpmpgp.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-10 09:59:09 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-10 09:59:09 +0300
commit4ffee98a652dbc4fcfeb04076111bedf043a7956 (patch)
tree3878cda987cdadf19ccd74737318e4251e745e2e /rpmio/rpmpgp.c
parentae2cd002e679c9fffb7ac8d21380e91408532339 (diff)
downloadrpm-4ffee98a652dbc4fcfeb04076111bedf043a7956.tar.gz
rpm-4ffee98a652dbc4fcfeb04076111bedf043a7956.tar.bz2
rpm-4ffee98a652dbc4fcfeb04076111bedf043a7956.zip
Silly signedness mismatch in pgpMpiSet()
Diffstat (limited to 'rpmio/rpmpgp.c')
-rw-r--r--rpmio/rpmpgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c
index aaffbff87..8db097e6e 100644
--- a/rpmio/rpmpgp.c
+++ b/rpmio/rpmpgp.c
@@ -224,7 +224,7 @@ void pgpPrtVal(const char * pre, pgpValTbl vs, uint8_t val)
/**
* @return 0 on success
*/
-static int pgpMpiSet(const char * pre, int lbits,
+static int pgpMpiSet(const char * pre, unsigned int lbits,
void *dest, const uint8_t * p, const uint8_t * pend)
{
unsigned int mbits = pgpMpiBits(p);