r3323: more warning reductions
[bbaumbach/samba-autobuild/.git] / source4 / rpc_server / dcerpc_server.c
index fd605fb9553bee7e926aeb3bf098c7f384be55b9..59ea8321ff49697c630c93a0e3a1cc9eadfd1caa 100644 (file)
@@ -238,7 +238,7 @@ NTSTATUS dcesrv_generic_session_key(struct dcesrv_connection *p,
                                    DATA_BLOB *session_key)
 {
        /* this took quite a few CPU cycles to find ... */
-       session_key->data = "SystemLibraryDTC";
+       session_key->data = discard_const_p(char, "SystemLibraryDTC");
        session_key->length = 16;
        return NT_STATUS_OK;
 }