X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=psi.d%2Ftime.psi;h=ff81e932c1c8bc0f73c8cb78604942d9c6d91c94;hp=ae16b0a71d0d7544daed3de3818b25dadbfe3431;hb=cfebc76ed7426836f21296cca9a14b422bfa04cf;hpb=5c82e8c40c87314d9bd93c42d36f194413eae619 diff --git a/psi.d/time.psi b/psi.d/time.psi index ae16b0a..ff81e93 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),