diff options
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2020-05-12 11:03:26 -0700 |
---|---|---|
committer | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2020-05-14 10:06:57 -0700 |
commit | 625d2651258db881d92eb5ffc97cb4f4f1fda239 (patch) | |
tree | 2df6302d596ddd54ad3efa287849d169484d80d2 | |
parent | b39e160d3974613328c570f46ecbcbcb70a5101b (diff) | |
download | libva-intel-driver-625d2651258db881d92eb5ffc97cb4f4f1fda239.tar.gz |
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>
-rw-r--r-- | test/test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.h b/test/test.h index 5d3fdc8c..fc23ad12 100644 --- a/test/test.h +++ b/test/test.h @@ -147,7 +147,7 @@ public: 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"; |