]> arthur.barton.de Git - bup.git/commit - lib/bup/_helpers.c
_helpers.c: fix a "type punning" warning from gcc.
authorAvery Pennarun <apenwarr@gmail.com>
Fri, 11 Mar 2011 03:58:58 +0000 (19:58 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 11 Mar 2011 03:58:58 +0000 (19:58 -0800)
commit2672a5e209f2d99e9540a1df4f148528e8bb3c91
treeec2e23291227f377bd4b6c3fa3f210c1ca951afe
parent1003a1c73dc8bc6521af1a9078a0a0446f700bbb
_helpers.c: fix a "type punning" warning from gcc.

_helpers.c: In function ‘bloom_contains’:
_helpers.c:260: warning: dereferencing type-punned pointer will break strict-aliasing rules

Whatever, let's use 1 instead of the apparently problematic Py_True.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
lib/bup/_helpers.c