summaryrefslogtreecommitdiffstats
path: root/source3/smbd
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2014-05-01 13:50:19 -0700
committerAndrew Bartlett <abartlet@samba.org>2014-05-02 03:41:31 +0200
commite8a323c73138bc132e95facfae011847e7c14aa0 (patch)
treed5febaac810a8de16f6ffbc308149938fc30f904 /source3/smbd
parent393348d11ed781d9f42049d5f996b0bab8b15d58 (diff)
downloadsamba-e8a323c73138bc132e95facfae011847e7c14aa0.tar.gz
samba-e8a323c73138bc132e95facfae011847e7c14aa0.tar.xz
samba-e8a323c73138bc132e95facfae011847e7c14aa0.zip
smbd: Fix compile warning in dmapi.c
Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Change-Id: I69297d91ab8c857204e1f78cafb210b9a05f3b77 Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri May 2 03:41:31 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/dmapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dmapi.c b/source3/smbd/dmapi.c
index 8e80a588c5f..8c93873801e 100644
--- a/source3/smbd/dmapi.c
+++ b/source3/smbd/dmapi.c
@@ -277,7 +277,7 @@ uint32 dmapi_file_flags(const char * const path)
return 0;
}
- dmapi_session = *(dm_sessid_t *)dmapi_session_ptr;
+ dmapi_session = *(const dm_sessid_t *)dmapi_session_ptr;
if (dmapi_session == DM_NO_SESSION) {
return 0;
}