mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-29 21:30:04 +01:00
fix UTF32Encoder
This commit is contained in:
parent
c86b54cf77
commit
24225d39ec
@ -172,7 +172,7 @@ int UTF32Encoding::convert(int ch, unsigned char* bytes, int length) const
|
|||||||
|
|
||||||
int UTF32Encoding::queryConvert(const unsigned char* bytes, int length) const
|
int UTF32Encoding::queryConvert(const unsigned char* bytes, int length) const
|
||||||
{
|
{
|
||||||
int ret = -2;
|
int ret = -4;
|
||||||
|
|
||||||
if (length >= 4)
|
if (length >= 4)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user