runtime/artiq_personality: add missing cast.

This commit is contained in:
whitequark 2015-12-31 22:10:30 +08:00
parent cb90bf6ef3
commit 71d8cbb431
1 changed files with 2 additions and 1 deletions

View File

@ -423,7 +423,8 @@ _Unwind_Reason_Code __artiq_personality(
encodingSize, typeInfoPtrPtr, (void*)typeInfoPtr);
EH_LOG("typeInfo=%s", (char*)typeInfoPtr);
if(typeInfoPtr == 0 || !strcmp(inflight->artiq.typeinfo, (char*)typeInfoPtr)) {
if(typeInfoPtr == 0 || !strcmp((char*)inflight->artiq.typeinfo,
(char*)typeInfoPtr)) {
EH_LOG0("matching action found");
exceptionMatched = 1;
break;