summaryrefslogtreecommitdiff
path: root/ZAPD/ZFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ZAPD/ZFile.cpp')
-rw-r--r--ZAPD/ZFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ZAPD/ZFile.cpp b/ZAPD/ZFile.cpp
index 29881cb..0141bb3 100644
--- a/ZAPD/ZFile.cpp
+++ b/ZAPD/ZFile.cpp
@@ -1031,11 +1031,11 @@ string ZFile::ProcessDeclarations()
void ZFile::ProcessDeclarationText(Declaration* decl)
{
- int refIndex = 0;
+ size_t refIndex = 0;
if (decl->references.size() > 0)
{
- for (int i = 0; i < decl->text.size() - 1; i++)
+ for (size_t i = 0; i < decl->text.size() - 1; i++)
{
char c = decl->text[i];
char c2 = decl->text[i + 1];