RegionSupport: Fix PVS 338-346
Fix 'true / false' value is implicitly cast to the integer type. Change-Id: I2f72fcd34d2d97d20e2a98ed5efe25919a485c9d Reviewed-on: https://review.haiku-os.org/739 Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
Jérôme Duval
parent
3340ebea4c
commit
f0a1a07c73
@@ -65,7 +65,7 @@ class BRegion::Support {
|
||||
static int XXorRegion(const BRegion* sra,
|
||||
const BRegion* srb, BRegion* dr);
|
||||
|
||||
static int XPointInRegion(const BRegion* region,
|
||||
static bool XPointInRegion(const BRegion* region,
|
||||
int x, int y);
|
||||
|
||||
enum {
|
||||
|
||||
Reference in New Issue
Block a user