diff options
Diffstat (limited to 'src/being/compoundsprite.h')
-rw-r--r-- | src/being/compoundsprite.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h index 3f5bd55de..88e8486df 100644 --- a/src/being/compoundsprite.h +++ b/src/being/compoundsprite.h @@ -83,9 +83,9 @@ class CompoundSprite notfinal : public Sprite void addSprite(Sprite *const sprite); - void setSprite(const int layer, Sprite *const sprite); + void setSprite(const size_t layer, Sprite *const sprite); - Sprite *getSprite(int layer) const A_WARN_UNUSED + Sprite *getSprite(const size_t layer) const A_WARN_UNUSED { return mSprites.at(layer); } void removeSprite(const int layer); |