X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fx11%2Fnative-image-source-impl-x.cpp;h=45562ee9b36adc86ec5a99ff62ef21697df22164;hb=0a3bcdabd8633cf86782d5d1978a458f1f11548f;hp=779b03a6ee2e8aeae5b36c5b3f66e8da799bda71;hpb=793544589aca1d62efff70aaf74a4af07d4a8a80;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/x11/native-image-source-impl-x.cpp b/adaptors/x11/native-image-source-impl-x.cpp index 779b03a..45562ee 100755 --- a/adaptors/x11/native-image-source-impl-x.cpp +++ b/adaptors/x11/native-image-source-impl-x.cpp @@ -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. @@ -61,7 +61,7 @@ namespace { if( !XDestroyImage(mXImage) ) { - DALI_ASSERT_DEBUG("XImage deallocation failure"); + DALI_LOG_ERROR("XImage deallocation failure"); } } } @@ -387,7 +387,7 @@ void NativeImageSource::GetPixmapDetails() int x, y; // get the width, height and depth - ecore_x_pixmap_geometry_get(mPixmap, &x, &y, (int*)&mWidth, (int*)&mHeight); + ecore_x_pixmap_geometry_get( mPixmap, &x, &y, reinterpret_cast< int* >( &mWidth ), reinterpret_cast< int* >( &mHeight ) ); // set whether blending is required according to pixel format based on the depth /* default pixel format is RGB888