diff options
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; |
