Alternatively you can remove the "DWORD" in front of n on line 1009, however you're likely to hit the same problem elsewhere. This works as far as compiling in VC6, not sure what issues it may cause... line 1009 is the 2nd for loop below WORD GetGuildIDByName(PCHAR szGuild) { for(DWORD n ...