RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: rpm Date: 18-Oct-2010 09:10:15 Branch: rpm-5_3 Handle: 2010101807101500 Modified files: (Branch: rpm-5_3) rpm/rpmio rpmpgp.c Log: - remove compiler warnings. Summary: Revision Changes Path 2.109.2.10 +3 -3 rpm/rpmio/rpmpgp.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmio/rpmpgp.c ============================================================================ $ cvs diff -u -r2.109.2.9 -r2.109.2.10 rpmpgp.c --- rpm/rpmio/rpmpgp.c 11 Oct 2010 21:56:41 -0000 2.109.2.9 +++ rpm/rpmio/rpmpgp.c 18 Oct 2010 07:10:15 -0000 2.109.2.10 @@ -1028,7 +1028,7 @@ const rpmuint8_t * pkt; size_t pktlen; - if (b64decode(b64pkt, (void **)&pkt, &pktlen)) + if (b64decode(b64pkt, (void *)&pkt, &pktlen)) return -1; /* on error */ (void) pgpPubkeyFingerprint(pkt, (unsigned int)pktlen, keyid); pkt = _free(pkt); @@ -1520,7 +1520,7 @@ crcdec = NULL; crclen = 0; - if (b64decode(crcenc, (void **)&crcdec, &crclen) != 0) { + if (b64decode(crcenc, (void *)&crcdec, &crclen) != 0) { ec = PGPARMOR_ERR_CRC_DECODE; goto exit; } @@ -1528,7 +1528,7 @@ crcdec = _free(crcdec); dec = NULL; declen = 0; - if (b64decode(enc, (void **)&dec, &declen) != 0) { + if (b64decode(enc, (void *)&dec, &declen) != 0) { ec = PGPARMOR_ERR_BODY_DECODE; goto exit; } @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org