From b76c10ed0bc068350c05d0c15b0eb9d93d549225 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 8 May 2002 10:11:58 +0000 Subject: 2002-05-08 Roland McGrath * storage-info.c (netfs_file_get_storage_info): Cast %* arg to int. --- nfs/storage-info.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nfs') diff --git a/nfs/storage-info.c b/nfs/storage-info.c index eb6a7db7..7427b3d8 100644 --- a/nfs/storage-info.c +++ b/nfs/storage-info.c @@ -42,7 +42,8 @@ netfs_file_get_storage_info (struct iouser *cred, return snprintf (*data, buflen, "nfsv%u://%s:%u/%n%*c?rsize=%u&wsize=%u", protocol_version, mounted_hostname, mounted_nfs_port, - &fhpos, np->nn->handle.size * 2, 'X', /* filled below */ + &fhpos, (int) (np->nn->handle.size * 2), + 'X', /* filled below */ read_size, write_size); } -- cgit v1.2.3