int vs ssize_t problem