windows-doesnt-always-have-long-long-20030923

Still can't assume long long exists; can break Windows build.
This commit is contained in:
Robert A Basch 2003-09-23 22:44:16 +00:00 committed by Garry Zacheiss
parent c5b9483a47
commit a4d467351a

View File

@ -447,7 +447,7 @@ afs_vsnprintf(char *p, size_t avail, const char *fmt, va_list ap)
case 'n': /* report count so far */
if (lflag > 1) {
llcountp = va_arg(ap, afs_intmax_t *);
*llcountp = (long long)count;
*llcountp = (afs_intmax_t)count;
} else if (lflag) {
lcountp = va_arg(ap, long *);
*lcountp = (long)count;