diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-31 19:55:53 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-31 19:55:53 +0000 |
commit | 95501d29b530b2c02efd81d8b9f3b7836edab51d (patch) | |
tree | df2eb1ab1cea3e5e96384e3286343ca2d8543cbc | |
parent | ef553264c58d5286b451f5feb89dbd63bac86236 (diff) | |
download | gnunet-95501d29b530b2c02efd81d8b9f3b7836edab51d.tar.gz gnunet-95501d29b530b2c02efd81d8b9f3b7836edab51d.zip |
-LRN: ino diff
-rw-r--r-- | src/util/disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
362 | if (succ) | 362 | if (succ) |
363 | { | 363 | { |
364 | *dev = info.dwVolumeSerialNumber; | 364 | *dev = info.dwVolumeSerialNumber; |
365 | *ino = ((info.nFileIndexHigh << sizeof (DWORD)) | info.nFileIndexLow); | 365 | *ino = ((((uint64_t) info.nFileIndexHigh) << (sizeof (DWORD) * 8)) | info.nFileIndexLow); |
366 | return GNUNET_OK; | 366 | return GNUNET_OK; |
367 | } | 367 | } |
368 | else | 368 | else |