ports/cad/opencascade/files/patch-src_STEPConstruct_STEPConstruct__AP203Context.cxx
Thierry Thomas f486bbfdc5 Upgrade to 6.9.1.
Release notes at
<http://www.opencascade.com/sites/default/files/documents/Release_Notes_6.9.1.pdf>

Submitted by:	Andrea Venturoli <andrea.venturoli (at) netfence.it>
2015-11-08 22:04:01 +00:00

11 lines
523 B
C++

--- src/STEPConstruct/STEPConstruct_AP203Context.cxx.orig 2015-09-25 16:19:10.000000000 +0200
+++ src/STEPConstruct/STEPConstruct_AP203Context.cxx 2015-10-25 20:37:31.000000000 +0100
@@ -105,7 +105,7 @@
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;