hud: add cast to silence MSVC warning
authorBrian Paul <brianp@vmware.com>
Wed, 26 Jun 2013 15:28:58 +0000 (09:28 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 26 Jun 2013 16:42:59 +0000 (10:42 -0600)
src/gallium/auxiliary/hud/hud_fps.c

index 6e9be712b66823a99b6b23ca0c172a0f3a43c915..a360bc2ed04613b3617800d57d530dc291e86217 100644 (file)
@@ -52,7 +52,7 @@ query_fps(struct hud_graph *gr)
          info->frames = 0;
          info->last_time = now;
 
-         hud_graph_add_value(gr, fps);
+         hud_graph_add_value(gr, (uint64_t) fps);
       }
    }
    else {