fix typing problems and a bug in quote.c?

This commit is contained in:
Vítor Santos Costa
2010-05-06 12:19:51 +01:00
parent 5f5fcb920f
commit 51f33514b3
4 changed files with 8 additions and 8 deletions

View File

@@ -319,7 +319,7 @@ Yap_LookupMaybeWideAtomWithLength(wchar_t *atom, size_t len)
while (len--) {*ptr++ = *p++;}
ptr[0] = '\0';
at = LookupWideAtom(ptr0);
Yap_FreeCodeSpace(ptr0);
Yap_FreeCodeSpace((char *)ptr0);
return at;
} else {
char *ptr, *ptr0;