2016-09-08 11:32:28 +02:00
|
|
|
$NetBSD: patch-pcbnew_xchgmod.cpp,v 1.3 2016/09/08 09:32:28 bouyer Exp $
|
2014-02-17 21:38:59 +01:00
|
|
|
64bit time_t fix
|
|
|
|
Reported upstream as bug id 1280901
|
|
|
|
|
2016-02-03 20:34:33 +01:00
|
|
|
--- pcbnew/xchgmod.cpp.orig 2015-12-11 18:20:54.000000000 +0100
|
|
|
|
+++ pcbnew/xchgmod.cpp 2015-12-11 18:21:01.000000000 +0100
|
|
|
|
@@ -542,7 +542,7 @@
|
2016-09-08 11:32:28 +02:00
|
|
|
for( ; module != NULL; module = module->Next() )
|
|
|
|
{
|
|
|
|
fprintf( cmpFile, "\nBeginCmp\n" );
|
|
|
|
- fprintf( cmpFile, "TimeStamp = %8.8lX\n", module->GetTimeStamp() );
|
|
|
|
+ fprintf( cmpFile, "TimeStamp = %8.8lX\n", (u_long)module->GetTimeStamp() );
|
|
|
|
fprintf( cmpFile, "Path = %s\n", TO_UTF8( module->GetPath() ) );
|
|
|
|
fprintf( cmpFile, "Reference = %s;\n",
|
|
|
|
!module->GetReference().IsEmpty() ?
|