mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-01 11:27:55 +00:00
Bug 353137 TestVersionComparator.cpp: Warning: String literal converted to char* in assignment.
r=dougt
This commit is contained in:
parent
6ef4bd247e
commit
addef4e05f
@ -48,7 +48,7 @@ int main(int argc, char **argv)
|
||||
|
||||
PRInt32 i = NS_CompareVersions(argv[1], argv[2]);
|
||||
|
||||
char *format;
|
||||
const char *format;
|
||||
|
||||
if (i < 0)
|
||||
format = "%s < %s\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user