Tulio Magno Quites Machado Filho d54bb9b1d3 Prevent an implicit int promotion in malloc/tst-alloc_buffer.c
According to ISO C11, section 6.5.3.3 "Unary arithmetic operators", the
result of the ~ operator is the bitwise complement of its (promoted)
operand.
This can lead to a comparison of a char with another integer type.

Tested on powerpc, powerpc64 and powerpc64le.

	* malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
	before comparing with another char.
2017-06-26 09:56:26 -03:00
..
2017-05-30 18:27:57 -03:00
2017-05-30 18:27:57 -03:00
2014-01-02 09:40:10 +01:00
2017-05-30 18:27:57 -03:00
2017-01-05 17:39:38 +00:00
2017-05-30 18:27:57 -03:00
2007-12-16 22:57:57 +00:00