Bug 557380: Add missing arg to printf in TestUnicodeArguments.cpp, to fix build warning. r=smontagu
This commit is contained in:
@@ -43,9 +43,9 @@ int wmain(int argc, _TCHAR* argv[]) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
#else
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
@@ -66,12 +66,12 @@ int main(int argc, char* argv[]) {
|
||||
return -1;
|
||||
|
||||
for (int i = 1; i < argc; ++i) {
|
||||
printf("argv[%d] = %s; expected = %s\n", argv[i], expected_utf8[i - 1]);
|
||||
printf("argv[%d] = %s; expected = %s\n", i, argv[i], expected_utf8[i - 1]);
|
||||
if (strcmp(expected_utf8[i - 1], argv[i])) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user