diff --git a/build/C_Properties.props b/build/C_Properties.props
index 045a5958..c52c0a84 100644
--- a/build/C_Properties.props
+++ b/build/C_Properties.props
@@ -16,7 +16,7 @@
$(SolutionDir)..\..\pthreads.2\include;$(SolutionDir)..\src;$(SolutionDir)..\src\extras;$(SolutionDir)..\;%(AdditionalIncludeDirectories)
4244;4204;4206;4028;4152;4996;4018;4456;4389;4100;4131;4459
false
- 4013;4029;4047;4716;4700;4020;4021;4133
+ 4013;4029;4047;4716;4700;4020;4021;4133;4090
%(AdditionalDependencies)
diff --git a/src/search_inter.c b/src/search_inter.c
index dd546a6c..c03739ba 100644
--- a/src/search_inter.c
+++ b/src/search_inter.c
@@ -61,7 +61,7 @@ static INLINE bool fracmv_within_tile(const encoder_state_t *state, const vector
static INLINE int get_wpp_limit(const encoder_state_t *state, const vector2d_t* orig)
{
- encoder_control_t *ctrl = state->encoder_control;
+ const encoder_control_t *ctrl = state->encoder_control;
if (ctrl->owf && ctrl->wpp) {
// Limit motion vectors to the LCU-row below this row.
// To avoid fractional pixel interpolation depending on things outside