projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7458d9
)
Cast to strlen expected type to avoid warning.
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 10 Jul 2007 08:39:40 +0000
(11:39 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 10 Jul 2007 08:39:40 +0000
(11:39 +0300)
rpmio/rpmpgp.c
patch
|
blob
|
history
diff --git
a/rpmio/rpmpgp.c
b/rpmio/rpmpgp.c
index
fa42a99
..
628ca2e
100644
(file)
--- a/
rpmio/rpmpgp.c
+++ b/
rpmio/rpmpgp.c
@@
-859,7
+859,7
@@
int pgpPrtComment(pgpTag tag, const byte *h, unsigned int hlen)
if (*h >= ' ' && *h <= 'z') {
if (_print)
fprintf(stderr, "%s", (const char *)h);
- j = strlen(h);
+ j = strlen(
(const char*)
h);
while (h[j] == '\0')
j++;
} else {