Fixed #5248 (False positive: Invalid argument in scanf for %zd)