summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index f56d9636c8..fa8d84ffe3 100644
--- a/parse.y
+++ b/parse.y
@@ -10234,7 +10234,7 @@ id_type(ID id)
}
else {
VALUE dsym = (VALUE)id;
- return RSYMBOL(dsym)->type;
+ return (int)(RSYMBOL(dsym)->type);
}
}