diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-10-28 11:27:10 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-10-28 11:27:10 +0000 |
| commit | 65effa9e0f808f8a981da5015df2cbddcfc8716b (patch) | |
| tree | 510665c615857fedce961f6db834e5b6bda4966e /lib/base/estring.cpp | |
| parent | c79951ddeafc155b4e213be78f26602c1b26bb3c (diff) | |
| download | enigma2-65effa9e0f808f8a981da5015df2cbddcfc8716b.tar.gz enigma2-65effa9e0f808f8a981da5015df2cbddcfc8716b.zip | |
always use unsigned
Diffstat (limited to 'lib/base/estring.cpp')
| -rw-r--r-- | lib/base/estring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base/estring.cpp b/lib/base/estring.cpp index 18b277ab..91491c38 100644 --- a/lib/base/estring.cpp +++ b/lib/base/estring.cpp @@ -522,7 +522,7 @@ std::string convertLatin1UTF8(const std::string &string) while (i < len) { - unsigned long code=string[i++]; + unsigned long code=(unsigned char)string[i++]; // Unicode->UTF8 encoding if (code < 0x80) // identity latin <-> utf8 mapping res[t++]=char(code); |
