fix compilation under threads.

This commit is contained in:
Vitor Santos Costa 2012-10-17 17:24:14 +01:00
parent 3917a19ab9
commit e596cce6f5

View File

@ -845,7 +845,7 @@ Yap_TermToString(Term t, char *s, size_t sz, size_t *length, int *encoding, int
Int l;
Yap_StartSlots( PASS_REGS1 );
l = Yap_InitSlot(t);
l = Yap_InitSlot(t PASS_REGS );
{ IOENC encodings[3];
IOENC *enc;