avoid warnings when building on systems where sizeof(void *) > sizeof(int)