Mesa (master): hud: add cast to silence MSVC warning
Brian Paul
brianp at kemper.freedesktop.org
Wed Jun 26 16:43:03 UTC 2013
Module: Mesa
Branch: master
Commit: 61964a9cebd972a802ca6517f3438452ab2d340b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=61964a9cebd972a802ca6517f3438452ab2d340b
Author: Brian Paul <brianp at vmware.com>
Date: Wed Jun 26 09:28:58 2013 -0600
hud: add cast to silence MSVC warning
---
src/gallium/auxiliary/hud/hud_fps.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/auxiliary/hud/hud_fps.c b/src/gallium/auxiliary/hud/hud_fps.c
index 6e9be71..a360bc2 100644
--- a/src/gallium/auxiliary/hud/hud_fps.c
+++ b/src/gallium/auxiliary/hud/hud_fps.c
@@ -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 {
More information about the mesa-commit
mailing list