Change-Id: I969b30862cb671200a26b55afe3d523b6cfd2a7c
}
mp->mp_reply.reply_time = (time_t) (boottime + (clock / system_hz));
- mp->mp_reply.reply_ntime = (clock % system_hz) * 1000000000 / system_hz;
+ mp->mp_reply.reply_ntime =
+ (long) ((clock % system_hz) * 1000000000ULL / system_hz);
return(OK);
}
panic("do_time couldn't get uptime: %d", s);
mp->mp_reply.reply_time = (time_t) (boottime + (realtime / system_hz));
- mp->mp_reply.reply_utime = (realtime % system_hz) * 1000000 / system_hz;
+ mp->mp_reply.reply_utime =
+ (long) ((realtime % system_hz) * 1000000ULL / system_hz);
return(OK);
}