fix a compiler warning
parent
800fd66044
commit
28719072bb
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue