summaryrefslogtreecommitdiff
path: root/src/lib/ecore_win32
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2013-03-22 20:25:37 +0900
committerCedric BAIL <cedric.bail@samsung.com>2013-03-22 20:25:37 +0900
commita4ea4423ac9c12d78d64ea9e54eaa00555736b15 (patch)
treeec5b99773853864d0f44986e18fd3ad9ba577939 /src/lib/ecore_win32
parentfc2124436c663545e6e39f394e30c7df9d43c178 (diff)
ecore: fix some aliasing warning.
Diffstat (limited to 'src/lib/ecore_win32')
-rw-r--r--src/lib/ecore_win32/ecore_win32.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/ecore_win32/ecore_win32.c b/src/lib/ecore_win32/ecore_win32.c
index b571d74d1b..3ee79d6ed7 100644
--- a/src/lib/ecore_win32/ecore_win32.c
+++ b/src/lib/ecore_win32/ecore_win32.c
@@ -63,7 +63,6 @@ _ecore_win32_window_procedure(HWND window,
63 LPARAM data_param) 63 LPARAM data_param)
64{ 64{
65 Ecore_Win32_Callback_Data *data; 65 Ecore_Win32_Callback_Data *data;
66 POINTS point;
67 DWORD coord; 66 DWORD coord;
68 67
69 data = (Ecore_Win32_Callback_Data *)malloc(sizeof(Ecore_Win32_Callback_Data)); 68 data = (Ecore_Win32_Callback_Data *)malloc(sizeof(Ecore_Win32_Callback_Data));
@@ -75,9 +74,8 @@ _ecore_win32_window_procedure(HWND window,
75 data->data_param = data_param; 74 data->data_param = data_param;
76 data->timestamp = GetMessageTime(); 75 data->timestamp = GetMessageTime();
77 coord = GetMessagePos(); 76 coord = GetMessagePos();
78 point = MAKEPOINTS(coord); 77 data->x = GET_X_LPARAM(coord);
79 data->x = point.x; 78 data->y = GET_Y_LPARAM(coord);
80 data->y = point.y;
81 data->discard_ctrl = EINA_FALSE; 79 data->discard_ctrl = EINA_FALSE;
82 80
83 switch (data->message) 81 switch (data->message)