[Libguestfs] [PATCH 10/13] hivex: hive type in vk-record is an unsigned 32 bit int

Richard W.M. Jones rjones at redhat.com
Thu Jan 28 10:20:13 UTC 2010


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
-------------- next part --------------
>From 350a37366be2a62d41c9a3f373992818940eb2a4 Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones at redhat.com>
Date: Thu, 21 Jan 2010 16:19:26 +0000
Subject: [PATCH 10/13] hivex: hive type in vk-record is an unsigned 32 bit int

---
 hivex/hivex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hivex/hivex.c b/hivex/hivex.c
index d8e599b..4fe8175 100644
--- a/hivex/hivex.c
+++ b/hivex/hivex.c
@@ -255,7 +255,7 @@ struct ntreg_vk_record {
    */
   uint32_t data_len;
   uint32_t data_offset;         /* pointer to the data (or data if inline) */
-  hive_type data_type;          /* type of the data */
+  uint32_t data_type;           /* type of the data */
   uint16_t flags;               /* bit 0 set => key name ASCII,
                                    bit 0 clr => key name UTF-16.
                                    Only seen ASCII here in the wild. */
-- 
1.6.5.2



More information about the Libguestfs mailing list