From 82224430842cb897f8845466ccd1cd5fc2ed8d2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Tue, 31 Mar 2009 13:35:31 +0000 Subject: [PATCH] For some reason I do not grasp right now, "c" needs to have uchar type or the method is broken. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29821 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/UTF8Char.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/terminal/UTF8Char.h b/src/apps/terminal/UTF8Char.h index f557c5c0e1..ef7c48fb51 100644 --- a/src/apps/terminal/UTF8Char.h +++ b/src/apps/terminal/UTF8Char.h @@ -42,7 +42,7 @@ struct UTF8Char { static int32 ByteCount(char firstChar) { // Note, this does not recognize invalid chars - uint32 c = firstChar; + uchar c = firstChar; if (c < 0x80) return 1; if (c < 0xe0)