From: Uwe Hermann Date: Sat, 19 Jan 2013 19:50:30 +0000 (+0100) Subject: samplingbar.cpp: Add missing "ULL". X-Git-Tag: pulseview-0.1.0~155 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d2aad78135050b13f1cf211fa0025aef1a238edf;p=pulseview.git samplingbar.cpp: Add missing "ULL". 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. --- diff --git a/pv/samplingbar.cpp b/pv/samplingbar.cpp index 60d7b4c8..8bdadbb1 100644 --- a/pv/samplingbar.cpp +++ b/pv/samplingbar.cpp @@ -45,7 +45,7 @@ const uint64_t SamplingBar::RecordLengths[11] = { 250000000, 500000000, 1000000000, - 10000000000 + 10000000000ULL, }; SamplingBar::SamplingBar(QWidget *parent) :