From bc2b6436d0f5f3e9ffdfaeb7f1b32996a83d5478 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 29 Mar 2007 09:35:51 +0000 Subject: r22009: change TDB_DATA from char * to unsigned char * and fix all compiler warnings in the users metze (This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f) --- source3/printing/notify.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/printing/notify.c') diff --git a/source3/printing/notify.c b/source3/printing/notify.c index 7d5b702781..2db8768395 100644 --- a/source3/printing/notify.c +++ b/source3/printing/notify.c @@ -31,7 +31,7 @@ static struct notify_queue { struct notify_queue *next, *prev; struct spoolss_notify_msg *msg; struct timeval tv; - char *buf; + uint8 *buf; size_t buflen; } *notify_queue_head = NULL; @@ -75,7 +75,7 @@ BOOL print_notify_messages_pending(void) static BOOL flatten_message(struct notify_queue *q) { struct spoolss_notify_msg *msg = q->msg; - char *buf = NULL; + uint8 *buf = NULL; size_t buflen = 0, len; again: @@ -99,7 +99,7 @@ again: msg->len, msg->notify.data); if (buflen != len) { - buf = (char *)TALLOC_REALLOC(send_ctx, buf, len); + buf = (uint8 *)TALLOC_REALLOC(send_ctx, buf, len); if (!buf) return False; buflen = len; -- cgit