X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fsnapshot.h;h=fcb420c773e27a37359dcff4f2678b625764e73c;hp=e4b9c0e812aaf7a7e0b3722d26a352997d02180b;hb=5ad3b48b283738425949145182edc18edf6ea29e;hpb=611d50a5b44c0ffa914360f13b2737778def0f07 diff --git a/pv/data/snapshot.h b/pv/data/snapshot.h index e4b9c0e8..fcb420c7 100644 --- a/pv/data/snapshot.h +++ b/pv/data/snapshot.h @@ -33,13 +33,13 @@ namespace data { class Snapshot { public: - Snapshot(int unit_size); + Snapshot(unsigned int unit_size); virtual ~Snapshot(); uint64_t get_sample_count() const; - int unit_size() const; + unsigned int unit_size() const; /** * @brief Increase the capacity of the snapshot. @@ -76,7 +76,7 @@ protected: std::vector _data; uint64_t _sample_count; uint64_t _capacity; - int _unit_size; + unsigned int _unit_size; }; } // namespace data