Commits

Merov Linden committed d917aa6

EXP-664 : following richard codereview: use llclamp where appropriate

  • Participants
  • Parent commits cf7b738

Comments (0)

Files changed (1)

File indra/llkdu/llimagej2ckdu.cpp

 	mLevels = levels;
 	if (mLevels != 0)
 	{
-		mLevels = llmin(mLevels,MAX_DECOMPOSITION_LEVELS);
-		mLevels = llmax(MIN_DECOMPOSITION_LEVELS,mLevels);
+		mLevels = llclamp(mLevels,MIN_DECOMPOSITION_LEVELS,MIN_DECOMPOSITION_LEVELS);		
 	}
 	return TRUE;
 }