summaryrefslogtreecommitdiff
path: root/source3/aparser/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/aparser/parser.c')
-rw-r--r--source3/aparser/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/aparser/parser.c b/source3/aparser/parser.c
index d55a5eb7d3..bcd317b57e 100644
--- a/source3/aparser/parser.c
+++ b/source3/aparser/parser.c
@@ -311,9 +311,9 @@ BOOL io_pointer(char *desc, prs_struct *ps, int depth, void **p, unsigned flags)
if (!(flags & PARSE_SCALARS)) return True;
- v = (*p) ? 1 : 0;
+ v = (*p) ? 0xdeadbeef : 0;
if (!io_uint32(desc, ps, depth, &v, flags)) return False;
- *p = (void *) (v ? 1 : 0);
+ *p = (void *) (v ? 0xdeadbeef : 0);
return True;
}