From 9a7640218c8c13d2924686d96457cfe0d3f91b1c Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 28 Jan 2010 17:39:06 +0000 Subject: [PATCH] hivex: Const-correctness fix on header_checksum (thanks Jim Meyering). --- hivex/hivex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hivex/hivex.c b/hivex/hivex.c index 40babe8..d2c450f 100644 --- 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; -- 1.8.3.1