X-Git-Url: https://git.saurik.com/apple/launchd.git/blobdiff_plain/e91b9f68c8f72465f3a6a45ce0aa2ad44c776f32..2a27bb34a874abc4131a0d503ef58d33e24011c8:/launchd/src/ConsoleMessage.c diff --git a/launchd/src/ConsoleMessage.c b/launchd/src/ConsoleMessage.c index a07f4ab..30f1cf6 100644 --- a/launchd/src/ConsoleMessage.c +++ b/launchd/src/ConsoleMessage.c @@ -235,7 +235,7 @@ static void replyCallback(CFMachPortRef port __attribute__((unused)), void * if (aReply != NULL && aMessage->aProtocol == kIPCProtocolVersion && aMessage->aByteLength >= 0) { - *aReply = CFDataCreate(NULL, (char *) aMessage + aMessage->aByteLength, aMessage->aByteLength); + *aReply = CFDataCreate(NULL, (UInt8 *) aMessage + aMessage->aByteLength, aMessage->aByteLength); } else if (aReply != NULL) { *aReply = NULL; }