farnulfo / ai-contest

Automatically exported from code.google.com/p/ai-contest
0 stars 0 forks source link

C++ starter vector iterators int to uint (sign mismatch) in PlanetWars - included entire file w/ changes #206

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There are 8 or so vector iterators that operate off of size() which is a uint 
not an int, sign mismatch between that and the declared int iterator.

Simple fix, just declare them as unsigned, attached complete cpp file with 
changes.

Original issue reported on code.google.com by themend...@gmail.com on 27 Oct 2010 at 1:12

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry forgot to make it low ;)

Original comment by themend...@gmail.com on 27 Oct 2010 at 1:13