projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b678b
)
deviceoptions.cpp make compile error on 32 bit systems
author
Joshua Frkuska
<j.frkuska@gmail.com>
Tue, 16 Apr 2013 14:11:09 +0000
(23:11 +0900)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Tue, 16 Apr 2013 17:20:38 +0000
(18:20 +0100)
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<long int, long int>)’
Signed-off-by: Joshua Frkuska <j.frkuska@gmail.com>
pv/prop/binding/deviceoptions.cpp
patch
|
blob
|
history
diff --git
a/pv/prop/binding/deviceoptions.cpp
b/pv/prop/binding/deviceoptions.cpp
index f71cbac2a42aeb57a3db42d4377b973346e679d5..1ce08eb8a14d7c9b6cc4a167625e28a5606f5051 100644
(file)
--- 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<int64_t, int64_t>(0, 100
));
break;
case SR_CONF_PATTERN_MODE: