diff options
author | H. Peter Anvin <hpa@zytor.com> | 2014-03-13 20:09:22 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2014-03-13 20:09:22 -0700 |
commit | 2df4a6b5fe41301535694315dda17a2af20d4dc9 (patch) | |
tree | cbcdfc1b43f0570ec132b61089d86752c1db194c | |
parent | 6722fc588d67497985704b34aa2b5e929079f73a (diff) | |
download | syslinux-2df4a6b5fe41301535694315dda17a2af20d4dc9.tar.gz syslinux-2df4a6b5fe41301535694315dda17a2af20d4dc9.tar.xz syslinux-2df4a6b5fe41301535694315dda17a2af20d4dc9.zip |
ntfs: Make byte_shift a const
byte_shift is a constant, label it as such.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | core/fs/ntfs/ntfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fs/ntfs/ntfs.c b/core/fs/ntfs/ntfs.c index af004473..4e6de65b 100644 --- a/core/fs/ntfs/ntfs.c +++ b/core/fs/ntfs/ntfs.c @@ -350,7 +350,7 @@ static int parse_data_run(const void *stream, uint32_t *offset, * l is the number of changed low-order LCN bytes */ uint8_t *byte; - int byte_shift = 8; + const int byte_shift = 8; int mask; int64_t res; |