X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fint.cpp;h=d791bd96b05d0846b40d52dc476fdddec135420d;hp=789c26eb0236c9efb89c3c2291cd92e1a5d0e421;hb=0402d7a3e425c56321234e4bb546d9b698c6d237;hpb=1978e0c26e20c0ffbea35add4c7bae0075aec4c7 diff --git a/pv/prop/int.cpp b/pv/prop/int.cpp index 789c26e..d791bd9 100644 --- a/pv/prop/int.cpp +++ b/pv/prop/int.cpp @@ -90,7 +90,7 @@ QWidget* Int::get_widget(QWidget *parent, bool auto_commit) range_min = 0, range_max = UINT64_MAX; } else { // Unexpected value type. - assert(0); + assert(false); } // @todo Sigrok supports 64-bit quantities, but Qt does not have a @@ -143,7 +143,7 @@ void Int::commit() else { // Unexpected value type. - assert(0); + assert(false); } assert(new_value);