diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-07-04 08:39:55 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-07-04 08:39:55 +0200 |
commit | 4ecd8a505f6f47df5c87b673b87eceb1e58c67a7 (patch) | |
tree | f2cbfd34a348a6d7af42a6c83a1dc5054197176a /tests/unit/core/test-utf8.cpp | |
parent | bd850398e87d1208921217d0831014994d25d643 (diff) | |
download | weechat-4ecd8a505f6f47df5c87b673b87eceb1e58c67a7.zip |
api: fix type of value returned by functions utf8_prev_char, utf8_next_char and utf8_add_offset
Diffstat (limited to 'tests/unit/core/test-utf8.cpp')
-rw-r--r-- | tests/unit/core/test-utf8.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/core/test-utf8.cpp b/tests/unit/core/test-utf8.cpp index 66a9abcf6..ce81ec002 100644 --- a/tests/unit/core/test-utf8.cpp +++ b/tests/unit/core/test-utf8.cpp @@ -125,7 +125,7 @@ TEST(Utf8, Normalize) TEST(Utf8, Move) { - char *ptr; + const char *ptr; /* previous/next char */ POINTERS_EQUAL(NULL, utf8_prev_char (NULL, NULL)); |