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

This commit is contained in:
smatz 2008-02-20 19:42:06 +00:00
parent 1e74834441
commit db9d5a909f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**