fix types

This commit is contained in:
Vitor Santos Costa 2013-12-05 21:25:06 +00:00
parent b3608c6a83
commit c2e29efbc7

View File

@ -160,7 +160,7 @@ PL_get_text__LD(term_t l, PL_chars_t *text, int flags ARG_LD)
if ( (flags & CVT_ATOM) && isAtom(w) )
#if __YAP_PROLOG__
{ if ( !get_atom_text(atomFromTerm(w), text) )
{ if ( !get_atom_ptr_text(AtomOfTerm(w), text) )
#else
{ if ( !get_atom_text(w, text) )
#endif