projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8782a1f
)
samplingbar.cpp: Add missing "ULL".
author
Uwe Hermann
<uwe@hermann-uwe.de>
Sat, 19 Jan 2013 19:50:30 +0000
(20:50 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sat, 19 Jan 2013 19:50:30 +0000
(20:50 +0100)
10000000000
is too large for an int/long on 32bit systems, properly list it
as 10000000000ULL, otherwise the compile will fail.
samplingbar.cpp:48: error: integer constant is too large for 'long' type.
pv/samplingbar.cpp
patch
|
blob
|
history
diff --git
a/pv/samplingbar.cpp
b/pv/samplingbar.cpp
index 60d7b4c8aec6cdcb2841a383ee5e8922b4fcc7be..8bdadbb149709697e738f26190656d4b3084380f 100644
(file)
--- a/
pv/samplingbar.cpp
+++ b/
pv/samplingbar.cpp
@@
-45,7
+45,7
@@
const uint64_t SamplingBar::RecordLengths[11] = {
250000000,
500000000,
1000000000,
- 10000000000
+ 10000000000
ULL,
};
SamplingBar::SamplingBar(QWidget *parent) :