PDA

View Full Version : Typo?


joligario
12-28-2009, 09:26 PM
/common/crc32.cpp at line 175:

#elif defined(i386)

joligario
12-28-2009, 10:10 PM
/world/EQW.cpp at line 123

for(; cur != end; cur++) {

joligario
12-28-2009, 10:15 PM
Maybe not on that 2nd one, because there seems to be a few of those. Maybe that is a valid for loop? Man, I need to learn C++ better...

KLS
12-28-2009, 10:52 PM
Neither are typos.

Elif is c-preprocessor and for doesn't require you initialize anything but you still need the semicolon.

joligario
12-28-2009, 11:18 PM
K, thanks Kimmy