(svn r12204) -Fix (r12192): using UINT16_MAX broke compilation on many targets

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
smatz 17 years ago
parent 1e74834441
commit db9d5a909f

@ -177,7 +177,7 @@ static inline int32 ClampToI32(const int64 a)
*/
static inline uint16 ClampToU16(const uint64 a)
{
return min(a, UINT16_MAX);
return min(a, 0xFFFF);
}
/**

Loading…
Cancel
Save