X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fstoresession.cpp;h=a5850060ec284e02c6ec1c4d0f2673c612d67b32;hb=870ea3dbf35b182e120c5d84ab89bf9cb7691232;hp=8916cb8cd154e078837cef5174813e8e4bd38d1c;hpb=83b1c8d251386ac1980284c4668cbdd8e425550f;p=pulseview.git diff --git a/pv/storesession.cpp b/pv/storesession.cpp index 8916cb8c..a5850060 100644 --- a/pv/storesession.cpp +++ b/pv/storesession.cpp @@ -226,7 +226,7 @@ void StoreSession::store_proc(vector< shared_ptr > achannel_li // Qt needs the progress values to fit inside an int. If they would // not, scale the current and max values down until they do. while ((sample_count_ >> progress_scale) > INT_MAX) - progress_scale ++; + progress_scale++; unit_count_ = sample_count_ >> progress_scale; @@ -295,4 +295,4 @@ void StoreSession::store_proc(vector< shared_ptr > achannel_li output_stream_.close(); } -} // pv +} // namespace pv