aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index c8edd5fb..eb054a6b 100644
--- a/compile.c
+++ b/compile.c
@@ -1850,7 +1850,7 @@ CORD compile(env_t *env, ast_t *ast)
code_err(chan->max_size, "This value must be an integer, not %T", get_type(env, chan->max_size));
return CORD_all("Channel$new(", max_size, ")");
} else {
- return "Channel$new(INT64_MAX)";
+ return "Channel$new(I(INT32_MAX))";
}
}
case Table: {