On system like 64bits windows it is not a guaranty that a sizeof (long) == sizeof (void*), we are better using the right type. This generate a warning that we could have seen with just cross compilation.