diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_aql_queue.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_aql_queue.cpp index b09ea82a79..e46116244c 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_aql_queue.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_aql_queue.cpp @@ -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_ERROR_MEMORY_FAULT)) { debug_print("Queue error - HSA_STATUS_ERROR_MEMORY_FAULT\n"); return false; }