test: server: Proper type-cast from int to void is uintptr_t