mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- Fixed GCC/Clang warnings with serializer Unicode parser.
This commit is contained in:
parent
104030697f
commit
ffea457d81
1 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ static const char *StringToUnicode(const char *cc, int size = -1)
|
|||
int count = 0;
|
||||
int count1 = 0;
|
||||
out.Clear();
|
||||
while (ch = (*c++) & 255)
|
||||
while ((ch = (*c++) & 255))
|
||||
{
|
||||
count1++;
|
||||
if (ch >= 128)
|
||||
|
@ -180,7 +180,7 @@ static const char *StringToUnicode(const char *cc, int size = -1)
|
|||
out.Last() = 0;
|
||||
c = cc;
|
||||
int i = 0;
|
||||
while (ch = (*c++) & 255)
|
||||
while ((ch = (*c++) & 255))
|
||||
{
|
||||
utf8_encode(ch, &out[i], &count1);
|
||||
i += count1;
|
||||
|
|
Loading…
Reference in a new issue