]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/binding/deviceoptions.cpp
deviceoptions.cpp make compile error on 32 bit systems
[pulseview.git] / pv / prop / binding / deviceoptions.cpp
index f71cbac2a42aeb57a3db42d4377b973346e679d5..1ce08eb8a14d7c9b6cc4a167625e28a5606f5051 100644 (file)
@@ -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<int64_t, int64_t>(0, 100));
                        break;
 
                case SR_CONF_PATTERN_MODE: