summaryrefslogtreecommitdiff
path: root/source4/libcli/util
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/util')
-rw-r--r--source4/libcli/util/nterr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/util/nterr.c b/source4/libcli/util/nterr.c
index 08cd844b3a..ca8605faea 100644
--- a/source4/libcli/util/nterr.c
+++ b/source4/libcli/util/nterr.c
@@ -835,7 +835,7 @@ const char *get_nt_error_c_code(NTSTATUS nt_code)
/*****************************************************************************
returns the NT_STATUS constant matching the string supplied (as an NTSTATUS)
*****************************************************************************/
-NTSTATUS nt_status_string_to_code(char *nt_status_str)
+NTSTATUS nt_status_string_to_code(const char *nt_status_str)
{
int idx = 0;