From: Jonathan Dahan Date: Mon, 10 Aug 2015 18:37:34 +0000 (-0400) Subject: SAMPLERATE is a guint64 X-Git-Tag: pulseview-0.3.0~109 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=05b2276928535ae1f8e16b6f9c89802d8d261fee;p=pulseview.git SAMPLERATE is a guint64 This fixes bug #621. --- diff --git a/pv/devices/device.cpp b/pv/devices/device.cpp index e33d27af..d7a78afa 100644 --- 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>( + return VariantBase::cast_dynamic>( device_->config_get(ConfigKey::SAMPLERATE)).get(); }