From 95501d29b530b2c02efd81d8b9f3b7836edab51d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 31 Dec 2011 19:55:53 +0000 Subject: [PATCH] -LRN: ino diff --- src/util/disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/disk.c b/src/util/disk.c index 2cec160b8..dd2c4fb9d 100644 --- a/src/util/disk.c +++ b/src/util/disk.c @@ -362,7 +362,7 @@ GNUNET_DISK_file_get_identifiers (const char *filename, uint64_t * dev, if (succ) { *dev = info.dwVolumeSerialNumber; - *ino = ((info.nFileIndexHigh << sizeof (DWORD)) | info.nFileIndexLow); + *ino = ((((uint64_t) info.nFileIndexHigh) << (sizeof (DWORD) * 8)) | info.nFileIndexLow); return GNUNET_OK; } else -- 2.25.1