Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/Compress/Branch/BranchARM.c')
-rwxr-xr-x7zip/Compress/Branch/BranchARM.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/7zip/Compress/Branch/BranchARM.c b/7zip/Compress/Branch/BranchARM.c
index 7e0bbf8b..6d4e3672 100755
--- a/7zip/Compress/Branch/BranchARM.c
+++ b/7zip/Compress/Branch/BranchARM.c
@@ -1,4 +1,4 @@
-// BranchARM.c
+/* BranchARM.c */
#include "BranchARM.h"
@@ -17,9 +17,9 @@ UInt32 ARM_Convert(Byte *data, UInt32 size, UInt32 nowPos, int encoding)
else
dest = src - (nowPos + i + 8);
dest >>= 2;
- data[i + 2] = (dest >> 16);
- data[i + 1] = (dest >> 8);
- data[i + 0] = dest;
+ data[i + 2] = (Byte)(dest >> 16);
+ data[i + 1] = (Byte)(dest >> 8);
+ data[i + 0] = (Byte)dest;
}
}
return i;