From 7ec2e0fbd6c53faa52ca0e6f2e8e172d3556c81d Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sat, 17 Feb 2018 22:08:18 +0100 Subject: Fix all warnings (errors with -Werror) --- src/main/cpp/Bullet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/cpp/Bullet.cpp') diff --git a/src/main/cpp/Bullet.cpp b/src/main/cpp/Bullet.cpp index c856213..412b5ef 100644 --- a/src/main/cpp/Bullet.cpp +++ b/src/main/cpp/Bullet.cpp @@ -1,6 +1,6 @@ #include "Bullet.hpp" -bool Bullet::decreaseAmount(int qnt) +bool Bullet::decreaseAmount(unsigned qnt) { if (_amount >= qnt) { _amount = _amount - qnt; -- cgit v1.2.1