aboutsummaryrefslogtreecommitdiff
path: root/api/int.h
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2022-01-01 14:23:34 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2022-01-01 14:23:34 +0100
commit8a3ed3c5996e8a88d94c24daa091dcd11fd81fac (patch)
treed9ac6b421e70de7ebda0697e3faf3f73c9e3c07c /api/int.h
parent53990e718867f7bf0cd49a1962e9695164a17eb2 (diff)
downloaduwu-lang-8a3ed3c5996e8a88d94c24daa091dcd11fd81fac.tar.xz
uwuint: use long instead of int to prevent YEAR2038 problem in nolambda time library
Diffstat (limited to 'api/int.h')
-rw-r--r--api/int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/int.h b/api/int.h
index 6b5361d..a8ed03c 100644
--- a/api/int.h
+++ b/api/int.h
@@ -4,7 +4,7 @@
#include "vm.h"
extern UwUVMType uwuint_type;
-UwUVMValue uwuint_create(int value);
+UwUVMValue uwuint_create(long value);
int uwuint_get(UwUVMValue vm_value);
#endif