B-0 fix bug with ssize_t