Squashes two -Wsign-conversion warnings.
int get_mode(ViewInfo * v)
{
- int ind = 0;
glMouseButtonType curMouseType = v->mouse.t;
int curDragging = ((v->mouse.dragX != 0) || (v->mouse.dragY != 0));
smyrna_view_mode view_mode;
view_mode = smyrna_fisheye;
- for (; ind < v->mouse_action_count; ind++) {
+ for (size_t ind = 0; ind < v->mouse_action_count; ind++) {
if ((v->mouse_actions[ind].hotkey == v->keymap.keyVal)
&& (v->mouse_actions[ind].type == curMouseType)
#endif
#endif
+#include <stddef.h>
#include <xdot/xdot.h>
#include <gtk/gtk.h>
#include <glcomp/opengl.h>
ArcBall_t *arcball;
keymap_t keymap;
mouse_action_t* mouse_actions; /*customizable moouse interraction list*/
- int mouse_action_count;
+ size_t mouse_action_count;
refresh_filter refresh;
int edgerendertype;
float nodeScale;