X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=hivex%2Fhivex.c;h=d2c450fe192e3011425114d8718168e33828fd60;hb=fa2d2ee3b79b05cb74e4d58eb27d18b074b85d74;hp=40babe8201f1ca013c40429f05477b4904a73976;hpb=006a0ce5171533de630952795349fd18721fae5a;p=hivex.git 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;