[poincare] Remove a warning (comparison sign)

This commit is contained in:
Romain Goyet
2019-05-28 16:46:40 +02:00
parent 9ebff093e5
commit f5c951ca5e

View File

@@ -183,7 +183,7 @@ int SerializationHelper::CodePoint(char * buffer, int bufferSize, class CodePoin
return result;
}
}
size_t size = UTF8Decoder::CodePointToChars(c, buffer, bufferSize);
int size = UTF8Decoder::CodePointToChars(c, buffer, bufferSize);
if (size <= bufferSize - 1) {
buffer[size] = 0;
} else {