From: Michael Wallner Date: Tue, 26 Jan 2016 10:58:19 +0000 (+0100) Subject: fix to_array statment X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;ds=inline;h=7220a46c6aa57b03a352e22360c15593a3a0d0b0;p=m6w6%2Fext-psi fix to_array statment --- diff --git a/psi.d/time.psi b/psi.d/time.psi index 13959da..30f713b 100644 --- a/psi.d/time.psi +++ b/psi.d/time.psi @@ -77,7 +77,7 @@ function psi\nanosleep(array $rq = NULL, array &$rm = NULL) : int { function psi\times(array &$tms = NULL) : int { let buf = calloc(1, psi\SIZEOF_STRUCT_TMS); return to_int(times); - set $tms = to_array(buf, + set $tms = to_array(*buf, to_int(tms_utime), to_int(tms_stime), to_int(tms_cutime),