projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8da45a
)
One more domd5() buffer signedness fix.
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 11 Jul 2007 10:52:22 +0000
(13:52 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 11 Jul 2007 10:52:22 +0000
(13:52 +0300)
lib/rpmfi.c
patch
|
blob
|
history
diff --git
a/lib/rpmfi.c
b/lib/rpmfi.c
index
975853b
..
19a45d3
100644
(file)
--- a/
lib/rpmfi.c
+++ b/
lib/rpmfi.c
@@
-594,7
+594,7
@@
fileAction rpmfiDecideFate(const rpmfi ofi, rpmfi nfi, int skipMissing)
memset(buffer, 0, sizeof(buffer));
if (dbWhat == REG) {
const unsigned char * omd5, * nmd5;
- if (domd5(fn, buffer, 0, NULL))
+ if (domd5(fn,
(unsigned char *)
buffer, 0, NULL))
return FA_CREATE; /* assume file has been removed */
omd5 = rpmfiMD5(ofi);
if (omd5 && !memcmp(omd5, buffer, 16))