From: bernhardheld Date: Tue, 9 Mar 2004 08:44:47 +0000 (+0000) Subject: Ooops X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=4127a06994850ad0d79bef02c43fe5b964b79bdb;p=fw%2Fsdcc Ooops git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3257 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/device/lib/time.c b/device/lib/time.c index 576e7688..11891004 100755 --- a/device/lib/time.c +++ b/device/lib/time.c @@ -197,7 +197,7 @@ time_t mktime(struct tm *timeptr) { } } - 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;