[4.0] Added capture for wearable
[platform/core/uifw/dali-adaptor.git] / adaptors / tizen / display-connection-impl-tizen.cpp
index 0516ba2..f65cf8d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 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.
@@ -37,14 +37,14 @@ namespace Adaptor
 
 EGLNativeDisplayType DisplayConnection::GetNativeDisplay()
 {
-  return (EGLNativeDisplayType)tbm_bufmgr_init( -1 );
+  return reinterpret_cast< EGLNativeDisplayType >( tbm_bufmgr_init( -1 ) );
 }
 
 void DisplayConnection::ReleaseNativeDisplay()
 {
   if( mDisplay )
   {
-    tbm_bufmgr_deinit( (tbm_bufmgr)mDisplay );
+    tbm_bufmgr_deinit( reinterpret_cast< tbm_bufmgr >( mDisplay ) );
   }
 }