diff options
-rw-r--r-- | source3/smbd/dmapi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/dmapi.c b/source3/smbd/dmapi.c index 23b5d5e947..c433a7329e 100644 --- a/source3/smbd/dmapi.c +++ b/source3/smbd/dmapi.c @@ -153,7 +153,8 @@ retry: /* No session already defined. */ if (dmapi_session == DM_NO_SESSION) { err = dm_create_session(DM_NO_SESSION, - CONST_DISCARD(DMAPI_SESSION_NAME), + CONST_DISCARD(char *, + DMAPI_SESSION_NAME), &dmapi_session); if (err < 0) { DEBUGADD(DMAPI_TRACE, |