Do not use C data type

Summary: unsigned long long is a "C" data type

Reviewers: stikonas, cjlcarvalho

Reviewed By: cjlcarvalho

Subscribers: #kde_partition_manager

Tags: #kde_partition_manager

Differential Revision: https://phabricator.kde.org/D20076
This commit is contained in:
Shubham Jangra 2019-03-27 10:14:02 -06:00 committed by Caio Carvalho
parent e8d6f7bab6
commit c78b35eb41
1 changed files with 2 additions and 2 deletions

View File

@ -450,7 +450,7 @@ quint64 ExternalCommand::getNonce(QDBusInterface& iface)
QDBusPendingCall pcall = iface.asyncCall(QStringLiteral("getNonce"));
QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pcall);
QEventLoop loop;
unsigned long long rval = 0;
quint64 rval = 0;
auto exitLoop = [&] (QDBusPendingCallWatcher *watcher) {
loop.exit();
@ -458,7 +458,7 @@ quint64 ExternalCommand::getNonce(QDBusInterface& iface)
if (watcher->isError())
qWarning() << watcher->error();
else {
QDBusPendingReply<unsigned long long> reply = *watcher;
QDBusPendingReply<quint64> reply = *watcher;
rval = reply;
}
};