Commit fd8fc456 authored by Cristy's avatar Cristy

...

parent ed61d44f
......@@ -4979,10 +4979,10 @@ RestoreMSCWarning
static inline double ConstrainCoordinate(double x)
{
if (x < LONG_MIN)
return(LONG_MIN);
if (x > LONG_MAX)
return(LONG_MAX);
if (x < -SSIZE_MAX)
return(-SSIZE_MAX);
if (x > SSIZE_MAX)
return(SSIZE_MAX);
return(x);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment