summaryrefslogtreecommitdiffstats
path: root/hivex/hivexsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'hivex/hivexsh.c')
-rw-r--r--hivex/hivexsh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hivex/hivexsh.c b/hivex/hivexsh.c
index a8ac0e1d..332b7739 100644
--- a/hivex/hivexsh.c
+++ b/hivex/hivexsh.c
@@ -800,7 +800,8 @@ cmd_lsval (char *key)
case hive_t_full_resource_description:
case hive_t_resource_requirements_list:
default: {
- char *data = hivex_value_value (h, values[i], &t, &len);
+ unsigned char *data =
+ (unsigned char *) hivex_value_value (h, values[i], &t, &len);
if (!data)
goto error;