]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUILD] silent a warning in unlikely() with gcc 4.x
authorWilly Tarreau <w@1wt.eu>
Sun, 6 Jul 2008 13:18:50 +0000 (15:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Sep 2008 08:49:43 +0000 (10:49 +0200)
commit3ff2c1d9b8d6492de3f4624f42617464efefd7b1
tree0773d5c21e7a4d38c50c3e8920068cc1a304f306
parent66c9f287c2c2d016eb12cb3ab12cd80b5c225f5e
[BUILD] silent a warning in unlikely() with gcc 4.x

The unlikely() implementation for gcc 4.x spits out a warning
when a pointer is passed. Add a cast to unsigned long.
(cherry picked from commit 75875a7c8c7348e90e373c007bafdedcc6253ab4)
include/common/ebtree.h
include/common/standard.h