diff --git a/src/rocdecode/vaapi/vaapi_videodecoder.cpp b/src/rocdecode/vaapi/vaapi_videodecoder.cpp index 7bf3f04866..304cabac69 100644 --- a/src/rocdecode/vaapi/vaapi_videodecoder.cpp +++ b/src/rocdecode/vaapi/vaapi_videodecoder.cpp @@ -156,7 +156,7 @@ rocDecStatus VaapiVideoDecoder::CreateDecoderConfig() { #if VA_CHECK_VERSION(1,6,0) va_profile_ = VAProfileAV1Profile0; #else - va_profile_ = 32; // VAProfileAV1Profile0; + va_profile_ = static_cast(32); // VAProfileAV1Profile0; #endif break; default: