From c6dd7ed262a3bc4879b511f516532bc954d743f4 Mon Sep 17 00:00:00 2001 From: Joshua Frkuska Date: Tue, 16 Apr 2013 23:11:09 +0900 Subject: [PATCH] deviceoptions.cpp make compile error on 32 bit systems MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- pv/prop/binding/deviceoptions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2