summaryrefslogtreecommitdiff
path: root/src/refs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/refs.c')
-rw-r--r--src/refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refs.c b/src/refs.c
index ff5e24067..7b538659d 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -863,7 +863,7 @@ int git_reference__normalize_name(
const char *name,
unsigned int flags)
{
- char *current;
+ const char *current;
int segment_len, segments_count = 0, error = GIT_EINVALIDSPEC;
unsigned int process_flags;
bool normalize = (buf != NULL);