aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-08-13 03:27:32 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-08-13 03:27:32 -0400
commiteb9e5260a627191d255b30e43ff239dbf4b11faa (patch)
treedde596b0a52be417419280db8cc82adafb5002e3 /compile.c
parentcf8c01845e67e9cee6d70917273ab8060cc90372 (diff)
Fix channels
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: {