summaryrefslogtreecommitdiff
path: root/cad/kicad/patches/patch-pcbnew_xchgmod.cpp
blob: 2677343b3835cd21664ca7ee3a5921c8956dd525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-pcbnew_xchgmod.cpp,v 1.2 2016/02/03 19:34:34 bouyer Exp $
64bit time_t fix
Reported upstream as bug id 1280901

--- 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 @@
     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() ?