runtime/artiq_personality.c: add missing cast.

This commit is contained in:
whitequark 2015-12-31 22:05:58 +08:00
parent abc5a49aaf
commit a2618f0b5b

View File

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