freebsd-ports/www/amaya/files/patch-thotlib-presentation-presvariables.c
Pav Lucistnik a4cd3a36c0 - Update to 9.2.1
PR:		ports/85698
Submitted by:	Alejandro Pulver <alejandro@varnet.biz>
Approved by:	Adam Kranzel <adam@blacktabby.org> (maintainer)
2005-09-09 08:59:25 +00:00

20 lines
786 B
C

--- ../thotlib/presentation/presvariables.c.orig Tue Jun 7 10:37:13 2005
+++ ../thotlib/presentation/presvariables.c Sat Aug 13 10:24:34 2005
@@ -1263,7 +1263,7 @@
/* date en anglais */
pt = &tod;
*pt = time (NULL);
- ptm = localtime (pt);
+ ptm = localtime ((const time_t *)pt);
GetCounterValue (ptm->tm_year, CntDecimal, number, &l);
CopyStringToBuffer ((unsigned char *)number, pAb->AbText, &l);
pAb->AbVolume += l;
@@ -1283,7 +1283,7 @@
/* date en francais */
pt = &tod;
*pt = time (NULL);
- ptm = localtime (pt);
+ ptm = localtime ((const time_t *)pt);
GetCounterValue (ptm->tm_mday, CntDecimal, number, &l);
CopyStringToBuffer ((unsigned char *)number, pAb->AbText, &l);
pAb->AbVolume += l;