summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2003-01-07 17:55:14 +0000
committerHerb Lewis <herb@samba.org>2003-01-07 17:55:14 +0000
commit3cbb08978207f68ccf3dcbec9c4912c3546cf0e0 (patch)
tree751e087a94a7c00b1c4ed75564fab724692cfb50 /source3/utils
parent3981c303a3b688295a50917098da2224fddb4537 (diff)
downloadsamba-3cbb08978207f68ccf3dcbec9c4912c3546cf0e0.tar.gz
samba-3cbb08978207f68ccf3dcbec9c4912c3546cf0e0.tar.bz2
samba-3cbb08978207f68ccf3dcbec9c4912c3546cf0e0.zip
this makes it compile, but I'm not sure if it is correct. Are we really
testing a pointer value to be equal to 0x19 ??? (This used to be commit 15b2b91f4b77a62163c0f79592111d4809317b9f)
Diffstat (limited to 'source3/utils')
-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);
}
}