diff options
Diffstat (limited to 'cad/kicad/patches/patch-eeschema_sheet.cpp')
-rw-r--r-- | cad/kicad/patches/patch-eeschema_sheet.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cad/kicad/patches/patch-eeschema_sheet.cpp b/cad/kicad/patches/patch-eeschema_sheet.cpp new file mode 100644 index 00000000000..6d91a94cb04 --- /dev/null +++ b/cad/kicad/patches/patch-eeschema_sheet.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-eeschema_sheet.cpp,v 1.1.1.1 2014/02/17 20:38:59 bouyer Exp $ +64bit time_t fix +Reported upstream as bug id 1280901 + +--- eeschema/sheet.cpp.orig 2014-02-15 15:49:44.000000000 +0100 ++++ eeschema/sheet.cpp 2014-02-15 15:49:51.000000000 +0100 +@@ -205,7 +205,7 @@ + aSheet->SetSheetNameSize( ReturnValueFromString( g_UserUnit, dlg.GetSheetNameTextSize() ) ); + + if( aSheet->GetName().IsEmpty() ) +- aSheet->SetName( wxString::Format( wxT( "Sheet%8.8lX" ), aSheet->GetTimeStamp() ) ); ++ aSheet->SetName( wxString::Format( wxT( "Sheet%8.8lX" ), (u_long)aSheet->GetTimeStamp() ) ); + + m_canvas->MoveCursorToCrossHair(); + m_canvas->SetIgnoreMouseEvents( false ); |