From 4c71dfe356716e6bc1993ef5efdced08b68fe612 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Wed, 20 Feb 2008 11:10:28 +0000 Subject: 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 --- lib/Archive/ArchiveWriter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Archive') diff --git a/lib/Archive/ArchiveWriter.cpp b/lib/Archive/ArchiveWriter.cpp index f5c4126..07f7d88 100644 --- a/lib/Archive/ArchiveWriter.cpp +++ b/lib/Archive/ArchiveWriter.cpp @@ -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; -- cgit v1.1