summaryrefslogtreecommitdiff
path: root/package.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-01-24 22:50:50 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-01-24 22:50:50 -0500
commita8e52c1e13a6cea5cf4197393002c0da206a99d4 (patch)
treeea2f0d314e6d92dd71649de99020cb24bef9bc73 /package.c
parent56464a272cac9e3dfa7d4c702faa23155b3d0134 (diff)
fixed return declarations
Diffstat (limited to 'package.c')
-rw-r--r--package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.c b/package.c
index 32b3c8e..5808ab2 100644
--- a/package.c
+++ b/package.c
@@ -672,7 +672,7 @@ static bool export_expr(Exporter *ex, Expression *e) {
case EXPR_BUILTIN:
if (found_type) {
possibly_static_assert(BUILTIN_VAL_COUNT <= 256);
- export_u8(ex, e->builtin.which.val);
+ export_u8(ex, (U8)e->builtin.which.val);
} else {
if (!export_expr(ex, e->builtin.which.expr))
return false;