]> arthur.barton.de Git - bup.git/commit - lib/bup/_helpers.c
Fix more gcc type punning errors introduced by the metadata changes.
authorAvery Pennarun <apenwarr@gmail.com>
Fri, 11 Mar 2011 04:03:06 +0000 (20:03 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 11 Mar 2011 04:03:06 +0000 (20:03 -0800)
commit704a672741345514bd5245eee3e6a54382cd48c9
treeedd503ca56389143b196e439058f6199945189b2
parentd7bcb23ffad19a0484196ab8a53192aba642fc43
Fix more gcc type punning errors introduced by the metadata changes.

Whatever, let's use 0 and 1 instead of Py_True and Py_False.

_helpers.c: In function ‘bup_set_linux_file_attr’:
_helpers.c:683: warning: dereferencing type-punned pointer will break
strict-aliasing rules
_helpers.c:683: warning: dereferencing type-punned pointer will break
strict-aliasing rules
_helpers.c: In function ‘bup_utimensat’:
_helpers.c:758: warning: dereferencing type-punned pointer will break
strict-aliasing rules
_helpers.c:758: warning: dereferencing type-punned pointer will break
strict-aliasing rules
_helpers.c: In function ‘init_helpers’:
_helpers.c:940: warning: dereferencing type-punned pointer will break
strict-aliasing rules
_helpers.c:941: warning: dereferencing type-punned pointer will break
strict-aliasing rules
error: command 'gcc' failed with exit status 1

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