blob: 09807849162c5aff0e0b936a7f46326d7b7e59b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-eeschema_sch_component.cpp,v 1.2 2016/02/03 19:34:33 bouyer Exp $
64bit time_t fix
Reported upstream as bug id 1280901
--- eeschema/sch_component.cpp.orig 2015-12-11 17:52:09.000000000 +0100
+++ eeschema/sch_component.cpp 2015-12-11 17:52:12.000000000 +0100
@@ -1240,7 +1240,9 @@
if( line[0] == 'U' )
{
- sscanf( line + 1, "%d %d %lX", &m_unit, &m_convert, &m_TimeStamp );
+ u_long tmstp;
+ sscanf( line + 1, "%d %d %lX", &m_unit, &m_convert, &tmstp );
+ tmstp = m_TimeStamp;
}
else if( line[0] == 'P' )
{
|