Title: [178821] trunk/Source/WebCore
Revision
178821
Author
[email protected]
Date
2015-01-21 00:46:42 -0800 (Wed, 21 Jan 2015)

Log Message

Fix cast-align warning in Source/WebCore/platform/efl/EflScreenUtilities.cpp
https://bugs.webkit.org/show_bug.cgi?id=140670

Reviewed by Darin Adler.

* platform/efl/EflScreenUtilities.cpp:
(WebCore::createCustomCursor):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (178820 => 178821)


--- trunk/Source/WebCore/ChangeLog	2015-01-21 08:45:11 UTC (rev 178820)
+++ trunk/Source/WebCore/ChangeLog	2015-01-21 08:46:42 UTC (rev 178821)
@@ -1,5 +1,15 @@
 2015-01-21  Csaba Osztrogonác  <[email protected]>
 
+        Fix cast-align warning in Source/WebCore/platform/efl/EflScreenUtilities.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=140670
+
+        Reviewed by Darin Adler.
+
+        * platform/efl/EflScreenUtilities.cpp:
+        (WebCore::createCustomCursor):
+
+2015-01-21  Csaba Osztrogonác  <[email protected]>
+
         Remove ENABLE(INSPECTOR) ifdef guards
         https://bugs.webkit.org/show_bug.cgi?id=140668
 

Modified: trunk/Source/WebCore/platform/efl/EflScreenUtilities.cpp (178820 => 178821)


--- trunk/Source/WebCore/platform/efl/EflScreenUtilities.cpp	2015-01-21 08:45:11 UTC (rev 178820)
+++ trunk/Source/WebCore/platform/efl/EflScreenUtilities.cpp	2015-01-21 08:46:42 UTC (rev 178821)
@@ -131,7 +131,7 @@
 
     unsigned char* buffer = cairo_image_surface_get_data(surface.get());
 
-    return ecore_x_cursor_new(window, (int*)(buffer), cursorSize.width(), cursorSize.height(), hotSpot.x(), hotSpot.y());
+    return ecore_x_cursor_new(window, reinterpret_cast_ptr<int*>(buffer), cursorSize.width(), cursorSize.height(), hotSpot.x(), hotSpot.y());
 }
 
 Ecore_X_Window getEcoreXWindow(Ecore_Evas* ecoreEvas)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to