mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Update gcc 4.3 warnings fix patch with recent head changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47368 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -47,11 +47,12 @@ inline unsigned numVbrBytes(unsigned num) {
|
||||
// small ones and four for large ones. We expect this to access file offsets
|
||||
// in the 2^10 to 2^24 range and symbol lengths in the 2^0 to 2^8 range,
|
||||
// so this approach is reasonable.
|
||||
if (num < 1<<14)
|
||||
if (num < 1<<14) {
|
||||
if (num < 1<<7)
|
||||
return 1;
|
||||
else
|
||||
return 2;
|
||||
}
|
||||
if (num < 1<<21)
|
||||
return 3;
|
||||
|
||||
|
Reference in New Issue
Block a user