[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.17-1283-gcf603cf

ossy at webkit.org ossy at webkit.org
Tue Jan 5 23:48:50 UTC 2010


The following commit has been merged in the webkit-1.1 branch:
commit 9f6af902c29d06480b53f8f87e645d218574b2e3
Author: ossy at webkit.org <ossy at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Dec 14 09:56:51 2009 +0000

    GCC 4.3.x warning fixed. Suggested parantheses added.
    warning: ../../../JavaScriptCore/wtf/StdLibExtras.h:77: warning: suggest parentheses around + or - in operand of &
    
    Reviewed by Simon Hausmann.
    
    * wtf/StdLibExtras.h:
    (WTF::bitCount):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52084 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 40359fe..4b16c0a 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,13 @@
+2009-12-14  Csaba Osztrogonác  <ossy at webkit.org>
+
+        Reviewed by Simon Hausmann.
+
+        GCC 4.3.x warning fixed. Suggested parantheses added.
+        warning: ../../../JavaScriptCore/wtf/StdLibExtras.h:77: warning: suggest parentheses around + or - in operand of &
+
+        * wtf/StdLibExtras.h:
+        (WTF::bitCount):
+
 2009-12-13  Geoffrey Garen  <ggaren at apple.com>
 
         Reviewed by Sam Weinig.
diff --git a/JavaScriptCore/wtf/StdLibExtras.h b/JavaScriptCore/wtf/StdLibExtras.h
index 09436ab..9d7b36b 100644
--- a/JavaScriptCore/wtf/StdLibExtras.h
+++ b/JavaScriptCore/wtf/StdLibExtras.h
@@ -74,7 +74,7 @@ namespace WTF {
     {
         bits = bits - ((bits >> 1) & 0x55555555);
         bits = (bits & 0x33333333) + ((bits >> 2) & 0x33333333);
-        return ((bits + (bits >> 4) & 0xF0F0F0F) * 0x1010101) >> 24;
+        return ((bits + ((bits >> 4) & 0xF0F0F0F)) * 0x1010101) >> 24;
     }
 
 } // namespace WTF

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list