From a846e1bf3a7e3ab6602a3dedf41b95c40ec68c30 Mon Sep 17 00:00:00 2001 From: avolkov Date: Tue, 10 Jan 2006 07:47:19 +0000 Subject: [PATCH] API fix git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2159 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/strings/unicode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/libs/strings/unicode.c b/sc2/src/sc2code/libs/strings/unicode.c index 68f5a84bf..fcbc97667 100644 --- a/sc2/src/sc2code/libs/strings/unicode.c +++ b/sc2/src/sc2code/libs/strings/unicode.c @@ -277,7 +277,7 @@ getWideFromStringN(wchar_t *wstr, size_t maxcount, // the only difference is that the source string (start) length is // calculated by searching for 0-term size_t -getWideFromString(wchar_t *wstr, size_t maxcount, unsigned char *start) +getWideFromString(wchar_t *wstr, size_t maxcount, const unsigned char *start) { wchar_t *next;