summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2005-03-08 19:43:55 +0000
committerH. Peter Anvin <hpa@zytor.com>2005-03-08 19:43:55 +0000
commit4a6e1edd95c66a0b333e14e20aa3f11592cb490e (patch)
tree8bb6d4bf5b72520cc453b165339e88c86fd0ee2e
parent367cb83af1438245766c13478a72c9e9fc3eb8a6 (diff)
downloadfatattr-4a6e1edd95c66a0b333e14e20aa3f11592cb490e.tar.gz
Be extra anal with the bit types.fatattr-1.0
-rw-r--r--fatattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatattr.c b/fatattr.c
index 9794909..83a27ad 100644
--- a/fatattr.c
+++ b/fatattr.c
@@ -120,7 +120,7 @@ parse_attr(const char *attrs)
exit(EX_USAGE);
}
- attr |= 1 << (p-bit_to_char);
+ attr |= (uint32_t)1 << (p-bit_to_char);
attrs++;
}