summaryrefslogtreecommitdiffstats
path: root/source/slang/parameter-binding.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-06-29 14:16:38 -0700
committerGitHub <noreply@github.com>2017-06-29 14:16:38 -0700
commitb2b08679a32506d629df84730f36639dab9f9593 (patch)
treee9aad4ff9a6111d828ae2e4b217dc8145cda56dd /source/slang/parameter-binding.cpp
parent16613ed981fc5dc38966f5108e85b1aee36ef92f (diff)
parentf4d900dfb64d95f121dd8565dd269be061ef8509 (diff)
Merge pull request #51 from tfoleyNV/refptr-string-cleanup
Overhaul `RefPtr` and `String`
Diffstat (limited to 'source/slang/parameter-binding.cpp')
-rw-r--r--source/slang/parameter-binding.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/parameter-binding.cpp b/source/slang/parameter-binding.cpp
index 01b047c2c..2a0c64892 100644
--- a/source/slang/parameter-binding.cpp
+++ b/source/slang/parameter-binding.cpp
@@ -211,8 +211,8 @@ LayoutSemanticInfo ExtractLayoutSemanticInfo(
// TODO: need to parse and handle `space` binding
int space = 0;
- int index = 0;
- for (int ii = 1; ii < registerName.Length(); ++ii)
+ UInt index = 0;
+ for (UInt ii = 1; ii < registerName.Length(); ++ii)
{
int c = registerName[ii];
if (c >= '0' && c <= '9')