Fix build error.
[platform/core/uifw/dali-adaptor.git] / adaptors / common / orientation-impl.cpp
index cbd705e..0e3fd0e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -66,7 +66,7 @@ int Orientation::GetDegrees() const
 
 float Orientation::GetRadians() const
 {
-  return Math::PI * (float)mOrientation / 180.0f;
+  return Math::PI * float(mOrientation) / 180.0f;
 }
 
 Orientation::OrientationSignalType& Orientation::ChangedSignal()