Fix more compiler warnings.

This commit is contained in:
Erik de Castro Lopo
2012-05-08 20:08:06 +10:00
parent 7c07a0ddfe
commit 605f920816
3 changed files with 12 additions and 13 deletions

View File

@@ -2020,7 +2020,7 @@ bool test_metadata_object_picture()
printf("testing Picture::set_colors()... +\n");
printf(" Picture::get_colors()... ");
block.set_colors(1u>16);
if(block.get_colors() != 1u>16)
if(block.get_colors() != (1u>16))
return die_("value mismatch, expected 2^16");
printf("OK\n");