Cast event->x and event->y to int to avoid warnings seen on Windows

buildbots. 

svn path=/trunk/; revision=44201
This commit is contained in:
Martin Mathieson 2012-08-02 03:53:18 +00:00
parent a5a1aebc43
commit 3e09bb9bf1
1 changed files with 2 additions and 2 deletions

View File

@ -1833,8 +1833,8 @@ static void do_zoom_common(struct graph *g, GdkEventButton *event)
}
else {
/* Mouse - just read it from event */
pointer_x = event->x;
pointer_y = event->y;
pointer_x = (int)event->x;
pointer_y = (int)event->y;
}