aboutsummaryrefslogtreecommitdiff
path: root/utils/open-vm-tools/patches/0010-Use-uintmax_t-for-handling-rlim_t.patch
blob: 6d50012ae3fc475722bc588cc7cfc7df7f6bcadc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -urN a/lib/hgfsServer/hgfsServerLinux.c b/lib/hgfsServer/hgfsServerLinux.c
--- a/lib/hgfsServer/hgfsServerLinux.c
+++ b/lib/hgfsServer/hgfsServerLinux.c
@@ -5295,8 +5295,8 @@
       goto exit;
    }
 
-   LOG(6, "%s: File Size limits: 0x%"FMT64"x 0x%"FMT64"x\n",
-       __FUNCTION__, fileSize.rlim_cur, fileSize.rlim_max);
+   LOG(6, "%s: File Size limits: 0x%jx 0x%jx\n",
+       __FUNCTION__, (uintmax_t)fileSize.rlim_cur, (uintmax_t)fileSize.rlim_max);
 
    /*
     * Check the offset is within the file size range.