diff options
author | Christian Ambach <ambi@samba.org> | 2012-05-08 16:03:13 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2012-05-08 22:37:05 +0200 |
commit | 09494ed6133fd4d71161969249adf187732e2709 (patch) | |
tree | 616e54f725e2df8f0f34d56a07281441990d11da /source3/smbd | |
parent | e8c2f81ef3e44fdd31047582f933276a48192e89 (diff) | |
download | samba-09494ed6133fd4d71161969249adf187732e2709.tar.gz samba-09494ed6133fd4d71161969249adf187732e2709.tar.bz2 samba-09494ed6133fd4d71161969249adf187732e2709.zip |
s3:smbd fix some compiler warnings
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/notify_internal.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |