Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2012-12-02 17:35:33 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-12-02 17:35:33 +0400
commit1d09d0a9c5afdc371e47a80b92ee439db12dafd1 (patch)
tree62ccb92cdee26b3ff109c60637a629c7c48dc1da /intern
parent3d6bc1e1f4d33f28b88111ed909b6a95c9c15843 (diff)
Silent some warnings (the one in bmesh_operator.c was even preventing build in -Werror mode).
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_NDOFManagerX11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_NDOFManagerX11.cpp b/intern/ghost/intern/GHOST_NDOFManagerX11.cpp
index 49e7def8730..468a37de633 100644
--- a/intern/ghost/intern/GHOST_NDOFManagerX11.cpp
+++ b/intern/ghost/intern/GHOST_NDOFManagerX11.cpp
@@ -90,8 +90,8 @@ bool GHOST_NDOFManagerX11::processEvents()
case SPNAV_EVENT_MOTION:
{
/* convert to blender view coords */
- short t[3] = {e.motion.x, e.motion.y, -e.motion.z};
- short r[3] = {-e.motion.rx, -e.motion.ry, e.motion.rz};
+ short t[3] = {(short)e.motion.x, (short)e.motion.y, (short)-e.motion.z};
+ short r[3] = {(short)-e.motion.rx, (short)-e.motion.ry, (short)e.motion.rz};
updateTranslation(t, now);
updateRotation(r, now);