summaryrefslogtreecommitdiffstats
path: root/tools/render-test/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/options.cpp')
-rw-r--r--tools/render-test/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp
index 54aa3c429..ec0bc0844 100644
--- a/tools/render-test/options.cpp
+++ b/tools/render-test/options.cpp
@@ -147,7 +147,7 @@ SlangResult parseOptions(int* argc, char** argv)
}
// any arguments left over were positional arguments
- argCount = (int)(writeCursor - argv);
+ argCount = (int)(writeCursor - (const char**)argv);
argCursor = argv;
argEnd = argCursor + argCount;