diff --git a/src/node_http2.h b/src/node_http2.h index 61858aecf60962..660a713d19e779 100644 --- a/src/node_http2.h +++ b/src/node_http2.h @@ -388,7 +388,7 @@ class Http2Options { } void SetPaddingStrategy(padding_strategy_type val) { - padding_strategy_ = static_cast(val); + padding_strategy_ = val; } padding_strategy_type GetPaddingStrategy() const {