test/javacompat: get rid of a compiler warning

BodgeMaster-unfinished
BodgeMaster 2022-07-20 19:22:06 +02:00
parent 8bb0732cc6
commit a51c65c9f2
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ int main(){
std::vector<uint8_t> data = JavaCompat::exportJavaString(normalString).value;
std::string exportedString = std::string();
for(int i=0; i<data.size(); i++){
for(int i=0; i<(int) data.size(); i++){
exportedString.push_back(data[i]);
}