Use correct type (intptr_t)