Fixed VC++ warnings.

This commit is contained in:
Camilla Berglund
2013-06-12 20:36:43 +02:00
parent 30b6e0c868
commit 3df0b4478b
5 changed files with 14 additions and 14 deletions

View File

@@ -385,18 +385,18 @@ static void cursorPosFun(GLFWwindow* window, double x, double y)
switch (active_view)
{
case 1:
rot_x += (int) y - ypos;
rot_z += (int) x - xpos;
rot_x += (int) (y - ypos);
rot_z += (int) (x - xpos);
do_redraw = 1;
break;
case 3:
rot_x += (int) y - ypos;
rot_y += (int) x - xpos;
rot_x += (int) (y - ypos);
rot_y += (int) (x - xpos);
do_redraw = 1;
break;
case 4:
rot_y += (int) x - xpos;
rot_z += (int) y - ypos;
rot_y += (int) (x - xpos);
rot_z += (int) (y - ypos);
do_redraw = 1;
break;
default: