* [9fans] ctime change
@ 2013-05-01 15:55 cinap_lenrek
0 siblings, 0 replies; only message in thread
From: cinap_lenrek @ 2013-05-01 15:55 UTC (permalink / raw)
To: 9fans
whats the objective for the recent ctime change?
--- a/sys/src/libc/9sys/ctime.c Wed May 01 16:55:11 2013 +0200
+++ b/sys/src/libc/9sys/ctime.c Wed May 01 17:54:28 2013 +0200
@@ -106,8 +106,8 @@
/*
* break initial number into days
*/
- hms = tim % 86400L;
- day = tim / 86400L;
+ hms = (ulong)tim % 86400L;
+ day = (ulong)tim / 86400L;
if(hms < 0) {
hms += 86400L;
day -= 1;
--
cinap
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-01 15:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-01 15:55 [9fans] ctime change cinap_lenrek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).