summaryrefslogtreecommitdiff
path: root/cad/kicad-devel/files/patch-pcbnew__class_module.cpp
blob: 6ba99924cdf39d642c2ae75200b24dd04e0f931d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./pcbnew/class_module.cpp.orig	Mon Dec  5 09:47:56 2005
+++ ./pcbnew/class_module.cpp	Sun Dec 25 16:55:30 2005
@@ -1020,7 +1020,7 @@
 	pos += 14;
 	if ( flag )	// Affichage date de modification (utile en Module Editor)
 	{
-		strcpy(Line, ctime(&m_LastEdit_Time));
+		strcpy(Line, ctime((time_t*) &m_LastEdit_Time));
 		strtok(Line," \n\r");
 		strcpy( bufcar, strtok(NULL," \n\r") ); strcat(bufcar," ");
 		strcat( bufcar, strtok(NULL," \n\r") ); strcat(bufcar,", ");