Skip to content

Commit

Permalink
Use static_cast over c-sytle
Browse files Browse the repository at this point in the history
  • Loading branch information
firthm01 committed Nov 3, 2023
1 parent 6a0ed03 commit d40c80e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reaper-adm-extension/src/reaper_adm/admvstcontrol.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ using namespace admplug;
#define ADM_VST_SAMPLERATEPARAM_NORMLIMIT 192000.0

#define ADM_VST_NUMCHNSPARAM 4
#define ADM_VST_NUMCHNSPARAM_NORMLIMIT float(MAX_DAW_CHANNELS)
#define ADM_VST_NUMCHNSPARAM_NORMLIMIT static_cast<float>(MAX_DAW_CHANNELS)

#define ADM_VST_ADMTYPEDEFINITIONPARAM 5
#define ADM_VST_ADMPACKFORMATPARAM 6
Expand Down

0 comments on commit d40c80e

Please sign in to comment.