freebsd-ports/cad/kicad/files/patch-pcbnew__class_module.cpp
2005-12-25 18:08:35 +00:00

11 lines
481 B
C++

--- ./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,", ");