aboutsummaryrefslogtreecommitdiff
path: root/builtins/integers.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-08-13 02:28:14 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-08-13 02:28:14 -0400
commit25519d243485ab1906304adc99d400684b04ef5b (patch)
treeef041872fd695d4b6d218791fbab3b90575e3532 /builtins/integers.c
parent80af2ea5476e6bc93fe3d7d2c297c021aa29b497 (diff)
Fixing up more stuff
Diffstat (limited to 'builtins/integers.c')
-rw-r--r--builtins/integers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/integers.c b/builtins/integers.c
index 08da553e..1faae4c2 100644
--- a/builtins/integers.c
+++ b/builtins/integers.c
@@ -70,7 +70,7 @@ public bool Int$equal_value(const Int_t x, const Int_t y) {
return x.small == y.small || (__builtin_expect(((x.small & y.small) & 1) == 0, 0) && mpz_cmp(*x.big, *y.big) == 0);
}
-public bool Int$hash(const Int_t *x, const TypeInfo *type) {
+public uint32_t Int$hash(const Int_t *x, const TypeInfo *type) {
(void)type;
uint32_t hash;
if (__builtin_expect(x->small & 1, 1)) {