diff options
Diffstat (limited to 'StandAlone/spirv-remap.cpp')
-rw-r--r-- | StandAlone/spirv-remap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/StandAlone/spirv-remap.cpp b/StandAlone/spirv-remap.cpp index 301bb0cb..15c3ac51 100644 --- a/StandAlone/spirv-remap.cpp +++ b/StandAlone/spirv-remap.cpp @@ -157,7 +157,7 @@ namespace { } // Print helpful usage message to stdout, and exit - void usage(const char* const name, const char* const msg = nullptr) + void usage(const char* const name, const char* const msg = 0) { if (msg) std::cout << msg << std::endl << std::endl; @@ -245,7 +245,7 @@ namespace { verbosity = 1; if (a < argc) { - char* end_ptr = nullptr; + char* end_ptr = 0; int verb = ::strtol(argv[a], &end_ptr, 10); // If we have not read to the end of the string or // the string contained no elements, then we do not want to |