From 09494ed6133fd4d71161969249adf187732e2709 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Tue, 8 May 2012 16:03:13 +0200 Subject: s3:smbd fix some compiler warnings --- source3/smbd/notify_internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/notify_internal.c') diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c index aa02e32a2f..9af3b459ff 100644 --- a/source3/smbd/notify_internal.c +++ b/source3/smbd/notify_internal.c @@ -513,8 +513,8 @@ static void notify_trigger_index_parser(TDB_DATA key, TDB_DATA data, static int vnn_cmp(const void *p1, const void *p2) { - uint32_t *vnn1 = (uint32_t *)p1; - uint32_t *vnn2 = (uint32_t *)p2; + const uint32_t *vnn1 = (const uint32_t *)p1; + const uint32_t *vnn2 = (const uint32_t *)p2; if (*vnn1 < *vnn2) { return -1; -- cgit