summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-11 13:48:43 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-11 13:48:43 +0300
commitf0a178f1283caeaf88ee0c1b76f9acc63ff4d336 (patch)
treed323043269c73c721468d3d6160b1bd110c778be /build
parent40e8f62678fcf2498108f2af683522301ed17b25 (diff)
downloadlibrpm-tizen-f0a178f1283caeaf88ee0c1b76f9acc63ff4d336.tar.gz
librpm-tizen-f0a178f1283caeaf88ee0c1b76f9acc63ff4d336.tar.bz2
librpm-tizen-f0a178f1283caeaf88ee0c1b76f9acc63ff4d336.zip
domd5() buffer signedness fixes.
Diffstat (limited to 'build')
-rw-r--r--build/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/files.c b/build/files.c
index 110bce120..4ec9e3801 100644
--- a/build/files.c
+++ b/build/files.c
@@ -1297,7 +1297,7 @@ static void genCpioListAndHeader(/*@partial@*/ FileList fl,
buf[0] = '\0';
if (S_ISREG(flp->fl_mode))
- (void) domd5(flp->diskURL, buf, 1, NULL);
+ (void) domd5(flp->diskURL, (unsigned char *)buf, 1, NULL);
s = buf;
(void) headerAddOrAppendEntry(h, RPMTAG_FILEMD5S, RPM_STRING_ARRAY_TYPE,
&s, 1);