}
/* did the transfer complete normally? */
if (us.size != -1 && count < us.size) {
if ((int)us.size != -1 && count < us.size) {
warnx("%s appears to be truncated: %lld/%lld bytes",
path, count, us.size);
goto failure_keep;