diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-07-06 13:15:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-06 13:15:26 -0700 |
| commit | af8c0eae90c76d2c8f745badf6f743cefe15f777 (patch) | |
| tree | 57632ee0f4b4944b311c0e50173fbeab0fe7d109 /source/slang/syntax.h | |
| parent | 21a14cb4e0d578bc4f8a460016269a1199cac0da (diff) | |
| parent | 9795ed654e7b8daaff0bef1ccae1507ff659d3bd (diff) | |
Merge pull request #54 from tfoleyNV/falcor-fixes
Fix issues found during testing of v0.4.0 with Falcor
Diffstat (limited to 'source/slang/syntax.h')
| -rw-r--r-- | source/slang/syntax.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h index 6587e18c3..4329f6cbd 100644 --- a/source/slang/syntax.h +++ b/source/slang/syntax.h @@ -420,9 +420,9 @@ namespace Slang // TODO(tfoley): It is ugly to have these. // We should probably fix the call sites instead. RefPtr<T>& First() { return *begin(); } - int Count() + UInt Count() { - int count = 0; + UInt count = 0; for (auto iter : (*this)) { (void)iter; |
