Assorted warning fixes

This commit is contained in:
Henrik Rydgård 2019-05-10 23:26:34 +02:00
parent 2f26297062
commit ff65b813d9
5 changed files with 4 additions and 5 deletions

View file

@ -119,7 +119,7 @@ public:
void DoState(PointerWrap &p);
void EatSourceBuff(int amount) {
if (amount > sourcebuff.size()) {
if (amount > (int)sourcebuff.size()) {
amount = (int)sourcebuff.size();
}
if (amount > 0)