The DEBUG macro was missing and the CFStringGetBytes() was triggering a
-Werror,-Wpointer-sign build failure.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14862
Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
#include "replace.h"
#include "charset.h"
#include "charset_proto.h"
+#include "lib/util/debug.h"
#undef realloc
#ifdef DARWINOS
charsconverted = CFStringGetBytes(
cfstring, CFRangeMake(0,cfsize),
script_code, 0, false,
- *outbuf, *outbytesleft, &outsize);
+ *(UInt8 **)outbuf, *outbytesleft, &outsize);
if (0 == charsconverted) {
debug_out("String conversion: "