Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
bd97d7b9
Commit
bd97d7b9
authored
Jul 24, 2014
by
Fabio Bas
Browse files
Fix signed/unsigned comparision
parent
d9577f0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/tab_game.cpp
View file @
bd97d7b9
...
...
@@ -254,7 +254,7 @@ TabGame::TabGame(TabSupervisor *_tabSupervisor, GameReplay *_replay)
// Create list: event number -> time [ms]
// Distribute simultaneous events evenly across 1 second.
int
lastEventTimestamp
=
-
1
;
unsigned
int
lastEventTimestamp
=
0
;
const
int
eventCount
=
replay
->
event_list_size
();
for
(
int
i
=
0
;
i
<
eventCount
;
++
i
)
{
int
j
=
i
+
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment