You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libaccounts-qt/accounts-qt-0.28-fix-64bit-...

29 lines
1.0 KiB

diff -Naur accounts-qt-0.28.org/Accounts/account.cpp accounts-qt-0.28/Accounts/account.cpp
--- accounts-qt-0.28.org/Accounts/account.cpp 2010-06-14 22:45:41.000000000 +0800
+++ accounts-qt-0.28/Accounts/account.cpp 2010-07-23 20:22:54.335786908 +0800
@@ -496,10 +496,10 @@
value = g_value_get_uint(&val);
break;
case G_TYPE_INT64:
- value = g_value_get_int64(&val);
+ value = qint64(g_value_get_int64(&val));
break;
case G_TYPE_UINT64:
- value = g_value_get_uint64(&val);
+ value = quint64(g_value_get_uint64(&val));
break;
case G_TYPE_BOOLEAN:
value = g_value_get_boolean(&val);
diff -Naur accounts-qt-0.28.org/Accounts/account.h accounts-qt-0.28/Accounts/account.h
--- accounts-qt-0.28.org/Accounts/account.h 2010-06-14 22:45:41.000000000 +0800
+++ accounts-qt-0.28/Accounts/account.h 2010-07-23 20:23:19.636035755 +0800
@@ -46,7 +46,7 @@
namespace Accounts
{
-typedef quint32 AccountId;
+typedef quint64 AccountId;
typedef QList<AccountId> AccountIdList;
class Manager;