diff options
Diffstat (limited to 'tdepasswd/passwd.cpp')
-rw-r--r-- | tdepasswd/passwd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdepasswd/passwd.cpp b/tdepasswd/passwd.cpp index 9d29333fc..6d6d45675 100644 --- a/tdepasswd/passwd.cpp +++ b/tdepasswd/passwd.cpp @@ -64,9 +64,9 @@ PasswdProcess::~PasswdProcess() } -int PasswdProcess::checkCurrent(const char *oldpass) +int PasswdProcess::checkCurrent(const TQString &oldpass) { - return exec(oldpass, 0L, 1); + return exec(oldpass.utf8(), 0L, 1); } |