mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
windows-doesnt-always-have-long-long-20030923
Still can't assume long long exists; can break Windows build.
This commit is contained in:
parent
c5b9483a47
commit
a4d467351a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user