summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/editreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/editreg.c b/source3/utils/editreg.c
index 6c2405ec7f..4d2112c4b5 100644
--- a/source3/utils/editreg.c
+++ b/source3/utils/editreg.c
@@ -1114,7 +1114,7 @@ SK_MAP *alloc_sk_map_entry(REGF *regf, KEY_SEC_DESC *tmp, int sk_off)
(regf->sk_map)[ndx].sk_off = sk_off;
(regf->sk_map)[ndx].key_sec_desc = tmp;
regf->sk_count++;
- if (regf->sk_map[2].key_sec_desc == 0x19) { /* Take us over */
+ if (regf->sk_map[2].key_sec_desc == (KEY_SEC_DESC *)0x19) { /* Take us over */
fprintf(stderr, "%0x\n", regf->sk_map[7].key_sec_desc->sec_desc);
}
}