Commit 69bc3b6e665dc34cf5b2512fb9d3f665f41d6a93

Thomas de Grivel 2024-11-07T17:59:23

fix bool_init_cast for TAG_TIME

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/libkc3/bool.c b/libkc3/bool.c
index c2eb791..fb65a09 100644
--- a/libkc3/bool.c
+++ b/libkc3/bool.c
@@ -70,6 +70,7 @@ bool * bool_init_cast (bool *b, const s_sym * const *type,
   case TAG_STRUCT:
   case TAG_STRUCT_TYPE:
   case TAG_SYM:
+  case TAG_TIME:
   case TAG_TUPLE:
   case TAG_UNQUOTE:
   case TAG_VAR:       *b = true;                               return b;