git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3256
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2004-03-09 Bernhard Held <bernhard AT bernhardheld.de>
+
+ * device/lib/time.c (mktime): fixed bug reported by Bert Thomas
+
2004-03-09 Hans Dorn <hjdorn AT users.sourceforge.net>
* src/pic16/gen.c (genSkip),
2004-03-09 Hans Dorn <hjdorn AT users.sourceforge.net>
* src/pic16/gen.c (genSkip),
- seconds+= timeptr->tm_mday-1*60*60*24L;
+ seconds+= timeptr->(tm_mday-1)*60*60*24L;
seconds+= timeptr->tm_hour*60*60;
seconds+= timeptr->tm_min*60;
seconds+= timeptr->tm_sec;
seconds+= timeptr->tm_hour*60*60;
seconds+= timeptr->tm_min*60;
seconds+= timeptr->tm_sec;