]> git.saurik.com Git - apple/launchd.git/blobdiff - launchd/src/ConsoleMessage.c
launchd-106.13.tar.gz
[apple/launchd.git] / launchd / src / ConsoleMessage.c
index a07f4ab113aa3108ab16bf648aa0ea831361d3c3..30f1cf67e162f6c6dd83d9872279e45915a50042 100644 (file)
@@ -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;
        }