PB2 not defined

Hi. I've read through everyone's postings, and I'm down to just this one error -- which I can't find a solution to. Has anyone figured this one out? Thanks much!!!

C:\Desktop\Arduino\arduino-0018\libraries\SDcard\fat.cpp: In function 'uint8_t fat_dir_entry_read_callback(uint8_t*, offset_t, void*)':

C:\Desktop\Arduino\arduino-0018\libraries\SDcard\fat.cpp:1555: error: invalid conversion from 'void*' to 'fat_read_dir_callback_arg*'

Okay, following up on my own question. The problem seems to be that renaming fat.c to fat.cpp actually creates more problems then it solves. A better way (in my opinion) is to leave it named fat.c and fix all the "for loop" errors by moving the variable declarations outside the loop. After doing this, I am now able to compile....