fix to_array statment
authorMichael Wallner <mike@php.net>
Tue, 26 Jan 2016 10:58:19 +0000 (11:58 +0100)
committerMichael Wallner <mike@php.net>
Tue, 26 Jan 2016 10:58:19 +0000 (11:58 +0100)
psi.d/time.psi

index 13959da809a39360888a6bac356f7c7682027ce8..30f713b8bfef3aaf90e47a78760ae2b5e4c5f89e 100644 (file)
@@ -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),