HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0cd4be
)
Player: Fix signedness error
author
Ben Gamari
<bgamari.foss@gmail.com>
Fri, 2 Nov 2012 15:22:13 +0000
(11:22 -0400)
committer
Ben Gamari
<bgamari.foss@gmail.com>
Fri, 2 Nov 2012 15:22:13 +0000
(11:22 -0400)
src/modules/robot/Player.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/modules/robot/Player.cpp
b/src/modules/robot/Player.cpp
index
8a0be9d
..
090d134
100644
(file)
--- a/
src/modules/robot/Player.cpp
+++ b/
src/modules/robot/Player.cpp
@@
-34,7
+34,7
@@
Block* Player::new_block(){
Block* block = this->queue.get_ref( this->queue.size() );
// Then clean it up
if( block->player == this ){
- for(
shor
t index=0; index<block->gcodes.size(); index++){
+ for(
unsigned in
t index=0; index<block->gcodes.size(); index++){
block->gcodes.pop_back();
}
}