Skip to content

Commit

Permalink
gcc warning: enum constant in boolean context (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
justnope authored and justnope committed Jan 27, 2019
1 parent 7e36923 commit 65cdeed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/calf/giface.h
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,8 @@ class audio_module: public Metadata, public audio_module_iface
using Metadata::in_count;
using Metadata::out_count;
using Metadata::param_count;
float *ins[Metadata::in_count ? Metadata::in_count : 1];
float *outs[Metadata::out_count ? Metadata::out_count : 1];
float *ins[(Metadata::in_count != 0) ? Metadata::in_count : 1];
float *outs[(Metadata::out_count != 0) ? Metadata::out_count : 1];
float *params[Metadata::param_count];
bool questionable_data_reported_in;
bool questionable_data_reported_out;
Expand Down

0 comments on commit 65cdeed

Please sign in to comment.