OSDN Git Service
(root)
/
kde
/
kde-workspace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
274568b
)
kinfocenter: fix build on x86_64
author
Ivailo Monev
<xakepa10@gmail.com>
Fri, 3 Jun 2016 22:23:32 +0000
(22:23 +0000)
committer
Ivailo Monev
<xakepa10@gmail.com>
Fri, 3 Jun 2016 22:23:32 +0000
(22:23 +0000)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
kinfocenter/Modules/view1394/view1394.cpp
patch
|
blob
|
history
diff --git
a/kinfocenter/Modules/view1394/view1394.cpp
b/kinfocenter/Modules/view1394/view1394.cpp
index
936e92e
..
ee2e372
100644
(file)
--- a/
kinfocenter/Modules/view1394/view1394.cpp
+++ b/
kinfocenter/Modules/view1394/view1394.cpp
@@
-231,7
+231,11
@@
void View1394::rescanBus() {
else {
QString guidStr;
char buf[32];
+#ifdef __x86_64__
+ snprintf(buf, 32, "%lX", guid);
+#else
snprintf(buf, 32, "%llX", guid);
+#endif
guidStr=buf;
guidStr="0x"+guidStr.rightJustified(16, '0');
QString local=((j | 0xffc0) == localNodeId) ? "X" : "";