Skip to content

Commit

Permalink
runtime/artiq_personality.c: add missing cast.
Browse files Browse the repository at this point in the history
whitequark committed Dec 31, 2015
1 parent abc5a49 commit a2618f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artiq/runtime/artiq_personality.c
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit a2618f0

Please sign in to comment.