git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8c2f81
)
s3:smbd fix some compiler warnings
author
Christian Ambach
<ambi@samba.org>
Tue, 8 May 2012 14:03:13 +0000
(16:03 +0200)
committer
Christian Ambach
<ambi@samba.org>
Tue, 8 May 2012 20:37:05 +0000
(22:37 +0200)
source3/smbd/notify_internal.c
patch
|
blob
|
history
diff --git
a/source3/smbd/notify_internal.c
b/source3/smbd/notify_internal.c
index aa02e32a2f134c47da1047c694fb2a9b0048d2bb..9af3b459ff75c0855cb8a65d3663a9aadb8a0fc4 100644
(file)
--- 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;