summaryrefslogtreecommitdiffstats
path: root/kdecore/kextsock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kextsock.cpp')
-rw-r--r--kdecore/kextsock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/kextsock.cpp b/kdecore/kextsock.cpp
index c6561bad4..7517bb8e0 100644
--- a/kdecore/kextsock.cpp
+++ b/kdecore/kextsock.cpp
@@ -1262,7 +1262,7 @@ void KExtendedSocket::cancelAsyncConnect()
d->status = lookupDone;
}
-bool KExtendedSocket::open(int mode)
+bool KExtendedSocket::open(OpenMode mode)
{
if (mode != IO_Raw | IO_ReadWrite)
return false; // invalid open mode