mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-13 13:32:53 +08:00
fixed compiler warning comparing signed with unsigned. (Numsamples is obviously unsigned)
This commit is contained in:
parent
c86154b42d
commit
ec47609509
@ -237,7 +237,7 @@ void SigSession::export_file(const std::string &name, QWidget* parent, const std
|
|||||||
QFuture<void> future = QtConcurrent::run([&]{
|
QFuture<void> future = QtConcurrent::run([&]{
|
||||||
saveFileThreadRunning = true;
|
saveFileThreadRunning = true;
|
||||||
unsigned char* datat = (unsigned char*)snapshot->get_data();
|
unsigned char* datat = (unsigned char*)snapshot->get_data();
|
||||||
int numsamples = snapshot->get_sample_count()*snapshot->unit_size();
|
unsigned int numsamples = snapshot->get_sample_count()*snapshot->unit_size();
|
||||||
GString *data_out;
|
GString *data_out;
|
||||||
int usize = 8192;
|
int usize = 8192;
|
||||||
int size = usize;
|
int size = usize;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user