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

Commit

Permalink
test: cast VA_STATSUS_ERROR_UNKNOWN to VAStatus
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
uartie committed May 14, 2020
1 parent b39e160 commit 625d265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class VaapiStatus
status = "VA_STATUS_ERROR_HW_BUSY"; break;
case VA_STATUS_ERROR_UNSUPPORTED_MEMORY_TYPE:
status = "VA_STATUS_ERROR_UNSUPPORTED_MEMORY_TYPE"; break;
case VA_STATUS_ERROR_UNKNOWN:
case VAStatus(VA_STATUS_ERROR_UNKNOWN):
status = "VA_STATUS_ERROR_UNKNOWN"; break;
default:
status = "Unknown VAStatus";
Expand Down

0 comments on commit 625d265

Please sign in to comment.