-
-
Notifications
You must be signed in to change notification settings - Fork 202
Open
Description
I encountered a runtime warning from a sanitizer for undefined behavior when I registered a foreign c function, complaining about a wrong type for the arity of my function. This seems to be inconsistent in the code (?)
pl-vmi.c, 4477: VMH_GOTO_AS_VMI(I_FEXITDET, (*f)(h0, DEF->functor->arity, &FNDET_CONTEXT));
pl-wrap.c, 258: size_t
pl-termhash.c, 525: int
foreign.doc: short
What is the correct type, size_t?
Metadata
Metadata
Assignees
Labels
No labels