Opened 16 years ago

Closed 16 years ago

#2473 closed defect (fixed)

Casting from int to boolean causes C4800 compiler warning

Reported by: tamas Owned by: tamas
Priority: normal Milestone: 1.5.3
Component: default Version: 1.5.2
Severity: normal Keywords:
Cc:

Description

Some of the members are exposed as booleans however the corresponding C API uses integers for the same parameter. This causes

C4800 compiler warning: 'type' : forcing value to bool 'true' or 'false' (performance warning)

Change History (3)

comment:1 by tamas, 16 years ago

Applied the fix in r14906

comment:2 by tamas, 16 years ago

Backported to 1.5 in r14907

comment:3 by tamas, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.