on x64, size_t is 64-bit and int is 32-bit, so needs an explicit cast

This commit is contained in:
baldurk 2015-07-12 11:32:58 +02:00
parent 1f654e1603
commit d76692dfb8
3 changed files with 6 additions and 6 deletions

View file

@ -106,7 +106,7 @@ public:
}
--ch;
}
loc[currentSource].column = currentChar - ch;
loc[currentSource].column = (int)(currentChar - ch);
}
} else {
do {