Assorted warning fixes
This commit is contained in:
parent
2f26297062
commit
ff65b813d9
5 changed files with 4 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue