aboutsummaryrefslogtreecommitdiff
path: root/Source/CParse/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CParse/parser.y')
-rw-r--r--Source/CParse/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CParse/parser.y b/Source/CParse/parser.y
index ab4a0fb30..a3c5e73bf 100644
--- a/Source/CParse/parser.y
+++ b/Source/CParse/parser.y
@@ -744,7 +744,7 @@ static String *remove_block(Node *kw, const String *inputcode) {
String *name = Getattr(kw,"name");
if (name && (Cmp(name,"noblock") == 0)) {
char *cstr = Char(inputcode);
- size_t len = Len(inputcode);
+ int len = Len(inputcode);
if (len && cstr[0] == '{') {
--len; ++cstr;
if (len && cstr[len - 1] == '}') { --len; }