Opened 13 years ago

Closed 13 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:


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 Changed 13 years ago by tamas

Applied the fix in r14906

comment:2 Changed 13 years ago by tamas

Backported to 1.5 in r14907

comment:3 Changed 13 years ago by tamas

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