summaryrefslogtreecommitdiff
path: root/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'types.c')
-rw-r--r--types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types.c b/types.c
index b5cfad9..ee57dc3 100644
--- a/types.c
+++ b/types.c
@@ -1710,7 +1710,7 @@ static bool types_expr(Typer *tr, Expression *e) {
int which = -1;
for (BuiltinVal b = 0; b < BUILTIN_VAL_COUNT; b = b + 1) {
if (strs_equal(builtin_val_names[b], builtin_name)) {
- which = b;
+ which = (int)b;
}
}
if (which == -1) {