(struct stat).st is off_t, which usually is a long, or a long long. There's no good format string modifier for it, so use a cast.
(struct stat).st is off_t, which usually is a long, or a long long. There's no good format string modifier for it, so use a cast.