ports/cad/opencascade/files/patch-src_STEPConstruct_STEPConstruct__AP203Context.cxx
Thierry Thomas 82f832df60 Upgrade to 7.1.0.
Release notes at
https://www.opencascade.com/sites/default/files/documents/release_notes_7.1.0.pdf

PR:		220110
Submitted by:	tj+freebsd_portsxi (at) a13.fr
With bits from:	ml (at) netfence.it
2017-07-15 17:23:50 +00:00

11 lines
516 B
C++

--- src/STEPConstruct/STEPConstruct_AP203Context.cxx.orig 2016-11-25 09:52:26 UTC
+++ src/STEPConstruct/STEPConstruct_AP203Context.cxx
@@ -123,7 +123,7 @@ Handle(StepBasic_DateAndTime) STEPConstr
long shift = 0;
_get_timezone (&shift);
#else
- Standard_Integer shift = Standard_Integer(timezone);
+ Standard_Integer shift = Standard_Integer((long long)timezone);
#endif
Standard_Integer shifth = abs ( shift ) / 3600;
Standard_Integer shiftm = ( abs ( shift ) - shifth * 3600 ) / 60;