From 7ce5cf9a6d87a712c80cdf878045d6e2ed3e9ae8 Mon Sep 17 00:00:00 2001 From: Phani Date: Tue, 26 Nov 2019 14:33:33 -0500 Subject: [PATCH] fix in wasm_timespec --- runtime/src/libc/syscall.c | 2 +- runtime/src/libc/uvio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/libc/syscall.c b/runtime/src/libc/syscall.c index 0010fc7..b337091 100644 --- a/runtime/src/libc/syscall.c +++ b/runtime/src/libc/syscall.c @@ -506,7 +506,7 @@ wasm_geteuid() #define SYS_GET_TIME 228 struct wasm_time_spec { - u32 sec; + u64 sec; u32 nanosec; }; diff --git a/runtime/src/libc/uvio.c b/runtime/src/libc/uvio.c index e69d644..9df18c0 100644 --- a/runtime/src/libc/uvio.c +++ b/runtime/src/libc/uvio.c @@ -582,7 +582,7 @@ wasm_geteuid() #define SYS_GET_TIME 228 struct wasm_time_spec { - u32 sec; + u64 sec; u32 nanosec; };