Index: mozilla/xpcom/tests/TestVersionComparator.cpp =================================================================== RCS file: /cvsroot/mozilla/xpcom/tests/TestVersionComparator.cpp,v retrieving revision 1.1 diff -pU9 -r1.1 mozilla/xpcom/tests/TestVersionComparator.cpp --- mozilla/xpcom/tests/TestVersionComparator.cpp +++ mozilla/xpcom/tests/TestVersionComparator.cpp @@ -42,19 +42,19 @@ int main(int argc, char **argv) { if (argc != 3) { fprintf(stderr, "Usage: %s \n", argv[0]); return 1; } PRInt32 i = NS_CompareVersions(argv[1], argv[2]); - char *format; + const char *format; if (i < 0) format = "%s < %s\n"; else if (i > 0) format = "%s > %s\n"; else format = "%s = %s\n"; fprintf(stdout, format, argv[1], argv[2]);