fix a compiler warning
parent
800fd66044
commit
28719072bb
|
@ -65,7 +65,7 @@ namespace JavaCompat {
|
||||||
//placeholder size bytes
|
//placeholder size bytes
|
||||||
output.push_back(0x00);
|
output.push_back(0x00);
|
||||||
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){
|
if((uint8_t) stdString[i] == 0x00){
|
||||||
*size += 1;
|
*size += 1;
|
||||||
output.push_back(0xc0);
|
output.push_back(0xc0);
|
||||||
|
@ -87,7 +87,6 @@ namespace JavaCompat {
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
return ErrorOr(output);
|
return ErrorOr(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue