Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix type of bit values (fixes compiler warning)
A single bit cannot represent a signed integer value, so it must be an unsigned integer. This fixes a compiler warning: In file included from ../ccutil/clst.h:24:0, from ../ccstruct/blobbox.h:23, from workingpartset.h:24, from workingpartset.cpp:21: ../ccstruct/blobbox.h: In member function ‘void BLOBNBOX::set_reduced_box(TBOX)’: ../ccutil/host.h:79:25: warning: overflow in conversion from ‘int’ to ‘signed char:1’ changes value from ‘1’ to ‘-1’ [-Woverflow] #define TRUE 1 ^ ../ccstruct/blobbox.h:236:17: note: in expansion of macro ‘TRUE’ reduced = TRUE; ^~~~ Signed-off-by: Stefan Weil <[email protected]>
- Loading branch information