Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit 625d265

Browse files
committedMay 14, 2020
test: cast VA_STATSUS_ERROR_UNKNOWN to VAStatus
This fixes a gcc10 compiler error for the VA_STATUS_ERROR_UNKNOWN 0xFFFFFFFF conversion from unsigned int to int. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
1 parent b39e160 commit 625d265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/test.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class VaapiStatus
147147
status = "VA_STATUS_ERROR_HW_BUSY"; break;
148148
case VA_STATUS_ERROR_UNSUPPORTED_MEMORY_TYPE:
149149
status = "VA_STATUS_ERROR_UNSUPPORTED_MEMORY_TYPE"; break;
150-
case VA_STATUS_ERROR_UNKNOWN:
150+
case VAStatus(VA_STATUS_ERROR_UNKNOWN):
151151
status = "VA_STATUS_ERROR_UNKNOWN"; break;
152152
default:
153153
status = "Unknown VAStatus";

0 commit comments

Comments
 (0)
This repository has been archived.