diff options
Diffstat (limited to 'src/corelib/io/qprocess_symbian.cpp')
-rw-r--r-- | src/corelib/io/qprocess_symbian.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/io/qprocess_symbian.cpp b/src/corelib/io/qprocess_symbian.cpp index f5de750..1f5117f 100644 --- a/src/corelib/io/qprocess_symbian.cpp +++ b/src/corelib/io/qprocess_symbian.cpp @@ -791,7 +791,7 @@ void QProcessPrivate::startProcess() TInt err = qt_create_symbian_process(&symbianProcess, program, arguments); if (err == KErrNone) { - pid = symbianProcess->Id(); + pid = symbianProcess->Id().Id(); ::fcntl(deathPipe[0], F_SETFL, ::fcntl(deathPipe[0], F_GETFL) | O_NONBLOCK); @@ -816,7 +816,7 @@ void QProcessPrivate::startProcess() symbianProcess->Resume(); - QPROCESS_DEBUG_PRINT("QProcessPrivate::startProcess(): this: 0x%x, pid: %d", this, (TUint)pid); + QPROCESS_DEBUG_PRINT("QProcessPrivate::startProcess(): this: 0x%x, pid: %ld", this, pid); // Notify child start _q_startupNotification(); @@ -1021,7 +1021,7 @@ bool QProcessPrivate::startDetached(const QString &program, const QStringList &a if (err == KErrNone) { if (pid) - *pid = (qint64)newProc->Id(); + *pid = newProc->Id().Id(); newProc->Resume(); newProc->Close(); |