Fixed a couple issues with gcc

This commit is contained in:
Steve Dudenhoeffer
2004-08-22 02:52:27 +00:00
parent 722cd23065
commit 51caf26399
3 changed files with 8 additions and 5 deletions

View File

@@ -359,7 +359,7 @@ public:
int at(int a)
{
if (at < 0 || at >= (int)cSize)
if (a < 0 || a >= (int)cSize)
return -1;
return v[a];