Skip to content

Commit a3f3f58

Browse files
committed
dev
1 parent a28f6c9 commit a3f3f58

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ target_include_directories(
116116
${CMAKE_SOURCE_DIR}/vendor/reaper-sdk/sdk)
117117
if(WIN32)
118118
target_compile_options(common INTERFACE
119-
/W4 /wd4100 /wd4505 /wd4706 /wd4996
119+
/W3 /wd4996
120120
/WX
121121
)
122122
target_compile_definitions(common INTERFACE NOMINMAX UNICODE)

source/api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ bool Map(
196196
currentControlTarget.minval = *minvalInOptional;
197197
}
198198
if (maxvalInOptional) {
199-
currentControlTarget.maxval = *minvalInOptional;
199+
currentControlTarget.maxval = *maxvalInOptional;
200200
}
201201
if (stepInOptional) {
202202
currentControlTarget.step = *stepInOptional;

0 commit comments

Comments
 (0)