]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: pattern: fix build warnings introduced in the LRU cache
authorWilly Tarreau <w@1wt.eu>
Mon, 4 May 2015 15:18:42 +0000 (17:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 4 May 2015 15:18:42 +0000 (17:18 +0200)
commitaee9314e71b49854220881f0326b78a53f283998
tree2536daaba5aee088077861b3d3ecf6c16ca1495a
parent6eac32ebc1ed7e25a8bf569b29da64b49847acc9
BUILD: pattern: fix build warnings introduced in the LRU cache

They're caused by the cast to long long from ptr in 32-bit.

src/pattern.c: In function 'pat_match_str':
src/pattern.c:479:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
src/pattern.c