From 0b46b4690fa61d3fe5b77e9023826d76564bf540 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Tue, 29 Mar 2016 11:10:23 +0300 Subject: [PATCH] (dview_get_utf): apply const qualifier to str argument. --- src/diffviewer/ydiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diffviewer/ydiff.c b/src/diffviewer/ydiff.c index 8d8bfa5a1..997f7c003 100644 --- a/src/diffviewer/ydiff.c +++ b/src/diffviewer/ydiff.c @@ -581,7 +581,7 @@ dview_get_byte (char *str, gboolean * result) */ static int -dview_get_utf (char *str, int *char_length, gboolean * result) +dview_get_utf (const char *str, int *char_length, gboolean * result) { int res = -1; gunichar ch;