Ticket #2473 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Changed 5 years ago by tamas

Applied the fix in r14906

Changed 5 years ago by tamas

Backported to 1.5 in r14907

Changed 5 years ago by tamas

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.