fix a compiler warning

BodgeMaster-unfinished
BodgeMaster 2022-08-01 16:39:18 +02:00
parent 800fd66044
commit 28719072bb
1 changed files with 1 additions and 2 deletions

View File

@ -65,7 +65,7 @@ namespace JavaCompat {
//placeholder size bytes
output.push_back(0x00);
output.push_back(0x00);
for(int i=0; i<stdString.size(); i++){
for(uint16_t i=0; i<stdString.size(); i++){
if((uint8_t) stdString[i] == 0x00){
*size += 1;
output.push_back(0xc0);
@ -87,7 +87,6 @@ namespace JavaCompat {
#endif
#endif
return ErrorOr(output);
}