Fix harmless signed/unsigned warning in wxTextInputStream
Just fix a warning about assigning -1 to a size_t variable introduced in
the recent commit 1e435d2347
(Fix wxTextInputStream incorrectly decoding
multibyte fallback encodings, 2020-09-28).
No real changes.
This commit is contained in:
parent
8f1523e610
commit
a1381347c9
@ -140,7 +140,7 @@ wxChar wxTextInputStream::GetChar()
|
||||
// recognized that it's not valid UTF-8 and switched to fallback.
|
||||
// We don't know how long is the first character or if it's decoded
|
||||
// as 1 or 2 wchar_t characters, so we need to start with 1 byte again.
|
||||
inlen = -1;
|
||||
inlen = static_cast<size_t>(-1);
|
||||
break;
|
||||
|
||||
#if SIZEOF_WCHAR_T == 2
|
||||
|
Loading…
Reference in New Issue
Block a user