From: Joshua Frkuska Date: Tue, 16 Apr 2013 14:11:09 +0000 (+0900) Subject: deviceoptions.cpp make compile error on 32 bit systems X-Git-Tag: pulseview-0.1.0~41 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c6dd7ed262a3bc4879b511f516532bc954d743f4;p=pulseview.git deviceoptions.cpp make compile error on 32 bit systems fixes compile error: error: no matching function for call to ‘pv::prop::binding::DeviceOptions::bind_int(const QString&, const int&, const char [2], std::pair)’ Signed-off-by: Joshua Frkuska --- diff --git a/pv/prop/binding/deviceoptions.cpp b/pv/prop/binding/deviceoptions.cpp index f71cbac2..1ce08eb8 100644 --- a/pv/prop/binding/deviceoptions.cpp +++ b/pv/prop/binding/deviceoptions.cpp @@ -73,7 +73,7 @@ DeviceOptions::DeviceOptions(struct sr_dev_inst *sdi) : break; case SR_CONF_CAPTURE_RATIO: - bind_int(name, key, "%", make_pair(0L, 100L)); + bind_int(name, key, "%", pair(0, 100)); break; case SR_CONF_PATTERN_MODE: