]> 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>
Sun, 6 Jul 2008 13:18:50 +0000 (15:18 +0200)
commit75875a7c8c7348e90e373c007bafdedcc6253ab4
tree7fee59029137d7799579d724f79a9517c10b2a53
parentce44f12c1eec516812220bb523ff3a97efe5e1a4
[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.
include/common/ebtree.h
include/common/standard.h