Silence implicity conversion warnings in exception handling

Silence unnamed enum warning in error code comparison

Change-Id: I008b269c106bbad83a1f7588e7b4ec89ec17d37d
Esse commit está contido em:
Jonathan Kim
2023-07-21 17:22:27 -04:00
commit de David Yat Sin
commit 0d14144e3a
@@ -1062,7 +1062,7 @@ bool AqlQueue::ExceptionHandler(hsa_signal_value_t error_code, void* arg) {
// Suppress VM fault reporting. This is more useful when reported through the system error
// handler.
if (errorCode == HSA_STATUS_ERROR_MEMORY_FAULT) {
if (errorCode == static_cast<hsa_status_t>(HSA_STATUS_ERROR_MEMORY_FAULT)) {
debug_print("Queue error - HSA_STATUS_ERROR_MEMORY_FAULT\n");
return false;
}