diff options
author | 2011-01-31 12:18:06 +0100 | |
---|---|---|
committer | 2011-01-31 12:18:06 +0100 | |
commit | c958643e37a52364c5d8059ccd1cadb7be1cb259 (patch) | |
tree | 8ee27f0227beff31862499a71acf43b12d91b41b /lib/fuse.c | |
parent | 6646f6bed397eb4231258d1c812848866ad2e6dd (diff) |
Fix warning in hash calculation
Fix the following warning:
fuse.c:436: warning: this decimal constant is unsigned only in ISO C90
Diffstat (limited to 'lib/fuse.c')
-rw-r--r-- | lib/fuse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -433,7 +433,7 @@ static void free_node_mem(struct fuse *f, struct node *node) static size_t id_hash(struct fuse *f, fuse_ino_t ino) { - uint64_t hash = ((uint32_t) ino * 2654435761) % f->id_table.size; + uint64_t hash = ((uint32_t) ino * 2654435761U) % f->id_table.size; uint64_t oldhash = hash % (f->id_table.size / 2); if (oldhash >= f->id_table.split) |