summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-21 14:04:44 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-21 14:04:44 +0300
commitb50c537b5c7ce826fbbb8587c4031ed39bf10a29 (patch)
tree3193a12f5542730e5d61704cc023f4c351438ba6 /rpmio
parent0ebc7a4e394a2173bc9cdefe57a35e5de25a501e (diff)
downloadrpm-b50c537b5c7ce826fbbb8587c4031ed39bf10a29.tar.gz
rpm-b50c537b5c7ce826fbbb8587c4031ed39bf10a29.tar.bz2
rpm-b50c537b5c7ce826fbbb8587c4031ed39bf10a29.zip
Adjust pgpMpiSet() dest type to match actual use
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmpgp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c
index 1cb6a5aa1..9e0fb2784 100644
--- a/rpmio/rpmpgp.c
+++ b/rpmio/rpmpgp.c
@@ -319,12 +319,12 @@ int pgpValTok(pgpValTbl vs, const char * s, const char * se)
* @return 0 on success
*/
static int pgpMpiSet(const char * pre, unsigned int lbits,
- void *dest, const uint8_t * p, const uint8_t * pend)
+ uint8_t *dest, const uint8_t * p, const uint8_t * pend)
{
unsigned int mbits = pgpMpiBits(p);
unsigned int nbits;
size_t nbytes;
- char *t = dest;
+ uint8_t *t = dest;
unsigned int ix;
if ((p + ((mbits+7) >> 3)) > pend)