aboutsummaryrefslogtreecommitdiffstats
path: root/com32/libupload/ctime.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/libupload/ctime.c')
-rw-r--r--com32/libupload/ctime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/libupload/ctime.c b/com32/libupload/ctime.c
index 56c8efb6..a3e8155c 100644
--- a/com32/libupload/ctime.c
+++ b/com32/libupload/ctime.c
@@ -24,9 +24,11 @@ uint32_t posix_time(void)
ir.eax.b[1] = 0x04;
__intcall(0x1A, &ir, &d0);
+ memset(&ir, 0, sizeof ir);
ir.eax.b[1] = 0x02;
__intcall(0x1A, &ir, &t0);
+ memset(&ir, 0, sizeof ir);
ir.eax.b[1] = 0x04;
__intcall(0x1A, &ir, &d1);