projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9b5515e
)
fixed: compiler warning
author
wsoltys
<wiso@no.way>
Sun, 1 Dec 2013 21:45:06 +0000
(22:45 +0100)
committer
wsoltys
<wiso@no.way>
Sun, 1 Dec 2013 21:45:27 +0000
(22:45 +0100)
xbmc/Application.cpp
patch
|
blob
|
history
diff --git
a/xbmc/Application.cpp
b/xbmc/Application.cpp
index
7bab9e9
..
8e7f7a3
100644
(file)
--- a/
xbmc/Application.cpp
+++ b/
xbmc/Application.cpp
@@
-3182,8
+3182,8
@@
bool CApplication::ProcessEventServer(float frameTime)
newEvent.motion.yrel = 0;
newEvent.motion.state = 0;
newEvent.motion.which = 0x10; // just a different value to distinguish between mouse and event client device.
newEvent.motion.yrel = 0;
newEvent.motion.state = 0;
newEvent.motion.which = 0x10; // just a different value to distinguish between mouse and event client device.
- newEvent.motion.x = pos.x;
- newEvent.motion.y = pos.y;
+ newEvent.motion.x =
(uint16_t)
pos.x;
+ newEvent.motion.y =
(uint16_t)
pos.y;
OnEvent(newEvent); // had to call this to update g_Mouse position
return OnAction(CAction(ACTION_MOUSE_MOVE, pos.x, pos.y));
}
OnEvent(newEvent); // had to call this to update g_Mouse position
return OnAction(CAction(ACTION_MOUSE_MOVE, pos.x, pos.y));
}