summaryrefslogtreecommitdiff
path: root/retrace
diff options
context:
space:
mode:
authorMark Janes <mark.a.janes@intel.com>2017-04-01 06:28:18 -0700
committerMark Janes <mark.a.janes@intel.com>2017-06-19 14:04:51 -0700
commitaf16a54fe16978ae50bd2273bd1bf7dcb26a106c (patch)
treecb725b54870a30ed9bd8ce8709e2b6d8ac9dd644 /retrace
parent2d5917498dbc7051bfbfc718ebff554147e54998 (diff)
RenderTarget: fix clang warnings
Diffstat (limited to 'retrace')
-rw-r--r--retrace/daemon/glframe_retrace_render.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/retrace/daemon/glframe_retrace_render.cpp b/retrace/daemon/glframe_retrace_render.cpp
index fdceefb6..a9435cd4 100644
--- a/retrace/daemon/glframe_retrace_render.cpp
+++ b/retrace/daemon/glframe_retrace_render.cpp
@@ -138,7 +138,7 @@ RetraceRender::retraceRenderTarget(const StateTrack &tracker,
assert(bm.offset == m_bookmark.start.offset);
// play up to but not past the end of the render
- for (int calls = 0; calls < m_bookmark.numberOfCalls - 1; ++calls) {
+ for (uint calls = 0; calls < m_bookmark.numberOfCalls - 1; ++calls) {
trace::Call *call = m_parser->parse_call();
assert(call);
tracker.retraceProgramSideEffects(m_original_program, call, m_retracer);
@@ -187,7 +187,7 @@ RetraceRender::retrace(StateTrack *tracker) const {
tracker->flush();
// play up to but not past the end of the render
- for (int calls = 0; calls < m_bookmark.numberOfCalls - 1; ++calls) {
+ for (uint calls = 0; calls < m_bookmark.numberOfCalls - 1; ++calls) {
trace::Call *call = m_parser->parse_call();
assert(call);
@@ -225,7 +225,7 @@ RetraceRender::retrace(const StateTrack &tracker) const {
assert(bm.offset == m_bookmark.start.offset);
// play up to but not past the end of the render
- for (int calls = 0; calls < m_bookmark.numberOfCalls - 1; ++calls) {
+ for (uint calls = 0; calls < m_bookmark.numberOfCalls - 1; ++calls) {
trace::Call *call = m_parser->parse_call();
assert(call);