diff options
Diffstat (limited to 'include/Platform.h')
-rw-r--r-- | include/Platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Platform.h b/include/Platform.h index 411d42a03..570ba738b 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -78,7 +78,7 @@ namespace Scintilla { typedef float XYPOSITION; typedef double XYACCUMULATOR; inline int RoundXYPosition(XYPOSITION xyPos) { - return int(xyPos + 0.5); + return static_cast<int>(xyPos + 0.5); } // Underlying the implementation of the platform classes are platform specific types. |