diff options
Diffstat (limited to 'c/pl.cpp')
-rw-r--r-- | c/pl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -90,11 +90,11 @@ int Query::NextSolution() } /* Convert Prolog term to wide characters. */ -wstring_owner PlString(const term_t t, const int iFlags) +wstring_owner PlString(const term_t t, const int flags) { - char* sz; - if (PL_get_chars(t, &sz, iFlags)) - return {WsoFromSz(sz)}; + char* s; + if (PL_get_chars(t, &s, flags)) + return {WsoFromSz(s)}; else return {}; } |