Timestamps are long rather than int.

Fixes: lp:1800796
* https://bugs.launchpad.net/kicad/+bug/1800796
This commit is contained in:
Jeff Young 2018-10-31 10:19:12 +00:00
parent 9519de8ab2
commit 6888268f74
1 changed files with 2 additions and 1 deletions

View File

@ -1141,7 +1141,8 @@ bool SCH_COMPONENT::AddSheetPathReferenceEntryIfMissing( const wxString& aSheetP
// The full component reference path is aSheetPathName + the component time stamp itself
// full_AR_path is the alternate reference path to search
wxString full_AR_path = aSheetPathName + wxString::Format( "%8.8X", GetTimeStamp() );
wxString full_AR_path = aSheetPathName
+ wxString::Format( "%8.8lX", (unsigned long) GetTimeStamp() );
for( unsigned int ii = 0; ii < m_PathsAndReferences.GetCount(); ii++ )
{