summaryrefslogtreecommitdiff
path: root/source/slang/slang-options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-options.cpp')
-rw-r--r--source/slang/slang-options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp
index 0860ef4f2..8817095df 100644
--- a/source/slang/slang-options.cpp
+++ b/source/slang/slang-options.cpp
@@ -231,7 +231,7 @@ struct OptionsParser
{ ".comp", Profile::GLSL_Compute }
};
- for (int i = 0; i < SLANG_COUNT_OF(entries); ++i)
+ for (Index i = 0; i < SLANG_COUNT_OF(entries); ++i)
{
const Entry& entry = entries[i];
if (path.endsWith(entry.ext))
@@ -274,7 +274,7 @@ struct OptionsParser
};
- for (int i = 0; i < SLANG_COUNT_OF(entries); ++i)
+ for (Index i = 0; i < SLANG_COUNT_OF(entries); ++i)
{
const Entry& entry = entries[i];
if (path.endsWith(entry.ext))