summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-01-10 13:35:03 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-01-10 13:35:03 +0200
commit76d8c768363731b89da2c5db7625d2369adc5175 (patch)
treec58d9d9f60aa17f224e39542f4d90a64e0bb2862 /rpmio
parent6243ccd1e67f23e3ff07438c34ce18d5893b51df (diff)
downloadlibrpm-tizen-76d8c768363731b89da2c5db7625d2369adc5175.tar.gz
librpm-tizen-76d8c768363731b89da2c5db7625d2369adc5175.tar.bz2
librpm-tizen-76d8c768363731b89da2c5db7625d2369adc5175.zip
pgpHexStr() returns pointer to static buffer, return const char *
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmpgp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmpgp.h b/rpmio/rpmpgp.h
index a608debfd..ff813ee51 100644
--- a/rpmio/rpmpgp.h
+++ b/rpmio/rpmpgp.h
@@ -1055,7 +1055,7 @@ char * pgpHexCvt(char *t, const uint8_t *s, size_t nbytes)
* @return hex formatted string
*/
static inline
-char * pgpHexStr(const uint8_t *p, size_t plen)
+const char * pgpHexStr(const uint8_t *p, size_t plen)
{
static char prbuf[8*BUFSIZ]; /* XXX ick */
char *t = prbuf;