forked from enlightenment/efl
ecore: fix some aliasing warning.
This commit is contained in:
parent
fc2124436c
commit
a4ea4423ac
|
@ -63,7 +63,6 @@ _ecore_win32_window_procedure(HWND window,
|
||||||
LPARAM data_param)
|
LPARAM data_param)
|
||||||
{
|
{
|
||||||
Ecore_Win32_Callback_Data *data;
|
Ecore_Win32_Callback_Data *data;
|
||||||
POINTS point;
|
|
||||||
DWORD coord;
|
DWORD coord;
|
||||||
|
|
||||||
data = (Ecore_Win32_Callback_Data *)malloc(sizeof(Ecore_Win32_Callback_Data));
|
data = (Ecore_Win32_Callback_Data *)malloc(sizeof(Ecore_Win32_Callback_Data));
|
||||||
|
@ -75,9 +74,8 @@ _ecore_win32_window_procedure(HWND window,
|
||||||
data->data_param = data_param;
|
data->data_param = data_param;
|
||||||
data->timestamp = GetMessageTime();
|
data->timestamp = GetMessageTime();
|
||||||
coord = GetMessagePos();
|
coord = GetMessagePos();
|
||||||
point = MAKEPOINTS(coord);
|
data->x = GET_X_LPARAM(coord);
|
||||||
data->x = point.x;
|
data->y = GET_Y_LPARAM(coord);
|
||||||
data->y = point.y;
|
|
||||||
data->discard_ctrl = EINA_FALSE;
|
data->discard_ctrl = EINA_FALSE;
|
||||||
|
|
||||||
switch (data->message)
|
switch (data->message)
|
||||||
|
|
Loading…
Reference in New Issue