diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-05-05 21:13:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:21:46 -0500 |
commit | 3a2ca1b1b85e268928587287f61d26f992b303a5 (patch) | |
tree | 50a7615ac78c8eea91bf7b41af299fa98f8ea995 /source/smbd/dmapi.c | |
parent | 8e0e278961ebf2fa4301874d522636699ace1b9b (diff) | |
download | samba-3a2ca1b1b85e268928587287f61d26f992b303a5.tar.gz |
r22691: Fix a 64-bit warning and a const const discard warning
Diffstat (limited to 'source/smbd/dmapi.c')
-rw-r--r-- | source/smbd/dmapi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/smbd/dmapi.c b/source/smbd/dmapi.c index b8c23c2dce6..23b5d5e947a 100644 --- a/source/smbd/dmapi.c +++ b/source/smbd/dmapi.c @@ -152,7 +152,8 @@ retry: /* No session already defined. */ if (dmapi_session == DM_NO_SESSION) { - err = dm_create_session(DM_NO_SESSION, DMAPI_SESSION_NAME, + err = dm_create_session(DM_NO_SESSION, + CONST_DISCARD(DMAPI_SESSION_NAME), &dmapi_session); if (err < 0) { DEBUGADD(DMAPI_TRACE, |