]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/kern_clock.c
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / bsd / kern / kern_clock.c
index a9c778a6458cf445e6f54c010ec78cef844a83c2..226f90417b1df2d11a8f26ad5bf610ba0bc9fc2a 100644 (file)
@@ -242,7 +242,7 @@ hzto(struct timeval *tv)
                ticks = 0x7fffffff;
        }
 
-       return ticks;
+       return (int)ticks;
 }
 
 /*
@@ -346,6 +346,6 @@ get_procrustime(time_value_t *tv)
        st = p->p_stats->p_ru.ru_stime;
        //proc_unlock(p);
 
-       tv->seconds = st.tv_sec;
+       tv->seconds = (integer_t)st.tv_sec;
        tv->microseconds = st.tv_usec;
 }