summaryrefslogtreecommitdiffstats
path: root/kdecore/kextsock.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kextsock.h')
-rw-r--r--kdecore/kextsock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/kextsock.h b/kdecore/kextsock.h
index 02922ec33..7783b319b 100644
--- a/kdecore/kextsock.h
+++ b/kdecore/kextsock.h
@@ -627,7 +627,7 @@ public:
* @return true if successful, false when an error occurred or the most was
* not correct
*/
- virtual bool open(int mode = IO_Raw | IO_ReadWrite);
+ virtual bool open(OpenMode mode = (OpenMode)(IO_Raw | IO_ReadWrite));
/**
* Closes the socket. If we have data still in the write buffer yet to be