From: Joel Holdsworth Date: Wed, 21 Jan 2015 01:28:38 +0000 (-0500) Subject: pv::prop::Int: Fixed unsigned int binding X-Git-Tag: pulseview-0.3.0~243 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=79118fe555aa5abfc5a128d2c396d95925a1bb8d;p=pulseview.git pv::prop::Int: Fixed unsigned int binding --- diff --git a/pv/prop/int.cpp b/pv/prop/int.cpp index 0edba420..55b7ab3e 100644 --- a/pv/prop/int.cpp +++ b/pv/prop/int.cpp @@ -154,7 +154,7 @@ void Int::commit() else if (g_variant_type_equal(type, G_VARIANT_TYPE_INT32)) new_value = g_variant_new_int32(spin_box_->value()); else if (g_variant_type_equal(type, G_VARIANT_TYPE_UINT32)) - new_value = g_variant_new_int32(spin_box_->value()); + new_value = g_variant_new_uint32(spin_box_->value()); else if (g_variant_type_equal(type, G_VARIANT_TYPE_INT64)) new_value = g_variant_new_int64(spin_box_->value()); else if (g_variant_type_equal(type, G_VARIANT_TYPE_UINT64))