support older compiler

This commit is contained in:
Vadim Lopatin 2016-03-25 15:01:28 +03:00
parent 18a2451de5
commit 48bfd312f7
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class SettingsFile {
return minvalue;
if (value > maxvalue)
return maxvalue;
return value;
return cast(int)value;
// remove clamp to support older compilers
//return clamp(cast(int)value, minvalue, maxvalue);
}