summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);