/*
- * 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.
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 ) );
}
}