summaryrefslogtreecommitdiffhomepage
path: root/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'types.c')
-rw-r--r--types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types.c b/types.c
index 5ea1180..dac0efb 100644
--- a/types.c
+++ b/types.c
@@ -1764,7 +1764,7 @@ ucv_is_equal(uc_value_t *uv1, uc_value_t *uv2)
if (t1 != t2)
return false;
- if (uv1 == uv2)
+ if (t1 != UC_DOUBLE && uv1 == uv2)
return true;
switch (t1) {