git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8753ae
)
hivex: Const-correctness fix on header_checksum (thanks Jim Meyering).
author
Richard Jones
<rjones@redhat.com>
Thu, 28 Jan 2010 17:39:06 +0000
(17:39 +0000)
committer
Richard Jones
<rjones@redhat.com>
Thu, 28 Jan 2010 17:39:40 +0000
(17:39 +0000)
hivex/hivex.c
patch
|
blob
|
history
diff --git
a/hivex/hivex.c
b/hivex/hivex.c
index
40babe8
..
d2c450f
100644
(file)
--- a/
hivex/hivex.c
+++ b/
hivex/hivex.c
@@
-263,7
+263,7
@@
struct ntreg_vk_record {
} __attribute__((__packed__));
static uint32_t
-header_checksum (hive_h *h)
+header_checksum (
const
hive_h *h)
{
uint32_t *daddr = (uint32_t *) h->addr;
size_t i;