cast not needed

according to the standard, size_t is 32bit unsigned so the casts is invalid, and I tend to use C++ casts anyway (they're safer to use, in my opinion).

Compiled on Linux (g++ 4.7.2).