projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c6cbdd
)
SAMPLERATE is a guint64
author
Jonathan Dahan
<jonathan@jonathan.is>
Mon, 10 Aug 2015 18:37:34 +0000
(14:37 -0400)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 13 Sep 2015 17:51:50 +0000
(19:51 +0200)
This fixes bug #621.
pv/devices/device.cpp
patch
|
blob
|
history
diff --git
a/pv/devices/device.cpp
b/pv/devices/device.cpp
index e33d27af08d1013da9c40c4f6440cf444cdd6922..d7a78afae546c972af6cbf0a012364118bab075a 100644
(file)
--- a/
pv/devices/device.cpp
+++ b/
pv/devices/device.cpp
@@
-76,7
+76,7
@@
T Device::read_config(const ConfigKey *key, const T default_value)
(*iter).second.find(sigrok::GET) == (*iter).second.end())
return default_value;
- return VariantBase::cast_dynamic<
Variant<T
>>(
+ return VariantBase::cast_dynamic<
Glib::Variant<guint64
>>(
device_->config_get(ConfigKey::SAMPLERATE)).get();
}