summaryrefslogtreecommitdiff
path: root/www/amaya/files/patch-thotlib-presentation-presvariables.c
blob: 364d1a42ebaa0657ff6e1043d657b1b2ad0eee42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ../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;