This commit is contained in:
Vítor Santos Costa 2015-10-08 02:14:34 +01:00
parent 4e60e9b0f9
commit b788dc131d

View File

@ -1154,7 +1154,7 @@ Yap_tokRep(TokEntry *tokptr)
case Name_tok:
return (char *)RepAtom((Atom)info)->StrOfAE;
case Number_tok:
if ((b = Yap_TermToString(info, buf, sze, &length,LOCAL_encoding, flags)) != buf) {
if ((b = Yap_TermToString(info, buf, sze, &length, &LOCAL_encoding, flags)) != buf) {
if (b) free(b);
return NULL;
}