Commit ab23bf1a7c59a4e0576e8370f42290e5585f0ec9

Thomas de Grivel 2024-08-08T12:08:22

change s_time

diff --git a/lib/kc3/0.1/time.kc3 b/lib/kc3/0.1/time.kc3
index b7439d5..9e2ebc5 100644
--- a/lib/kc3/0.1/time.kc3
+++ b/lib/kc3/0.1/time.kc3
@@ -1,5 +1,5 @@
 defmodule Time do
 
-  defstruct [tv_sec: (Uw) 0, tv_nsec: (U32) 0]
+  defstruct [tv_sec: (Uw) 0, tv_nsec: (Uw) 0]
 
-end
\ No newline at end of file
+end
diff --git a/libkc3/types.h b/libkc3/types.h
index 54c2a81..0e6dce2 100644
--- a/libkc3/types.h
+++ b/libkc3/types.h
@@ -326,7 +326,7 @@ struct tag_type_list {
 
 struct time {
   uw tv_sec;
-  u32 tv_nsec;
+  uw tv_nsec;
 };
 
 struct tuple {