Skip to content

Commit 29541b8

Browse files
committed
Use INT32_MIN instead of INT_MIN for Linux compatibility
1 parent 1439387 commit 29541b8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Plugins/LfpDisplayNode/LfpDisplayNode.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ bool LfpDisplayNode::getIntField(DynamicObject::Ptr payload, String name, int& v
338338
if(!payload->hasProperty(name) || !payload->getProperty(name).isInt())
339339
return false;
340340
int tempVal = payload->getProperty(name);
341-
if((upperBound != INT_MIN && tempVal > upperBound) || (lowerBound != INT_MAX && tempVal < lowerBound))
341+
342+
if ((upperBound != INT32_MIN && tempVal > upperBound) || (lowerBound != INT32_MAX && tempVal < lowerBound))
342343
return false;
343344
value = tempVal;
344345
return true;

0 commit comments

Comments
 (0)