From d2ef14606cfdd4cbaf4af9911b64916dd69fd82d Mon Sep 17 00:00:00 2001 From: Aryan Salmanpour Date: Tue, 23 Jul 2024 10:48:15 -0400 Subject: [PATCH] Fix a compilation issue in RHEL8 (#394) --- src/rocdecode/vaapi/vaapi_videodecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: