diff options
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; |