aboutsummaryrefslogtreecommitdiff
path: root/c/pl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/pl.cpp')
-rw-r--r--c/pl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/pl.cpp b/c/pl.cpp
index 1255609..e0c7971 100644
--- a/c/pl.cpp
+++ b/c/pl.cpp
@@ -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 {};
}