mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-28 18:04:51 +00:00
Fixes a data type
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@416 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
parent
8c5a12e126
commit
4e08e97fb6
@ -69,7 +69,7 @@ int gnss_sdr_valve::work (int noutput_items,
|
|||||||
delete cmf;
|
delete cmf;
|
||||||
return -1; // Done!
|
return -1; // Done!
|
||||||
}
|
}
|
||||||
unsigned long long n = std::min(d_nitems - d_ncopied_items, noutput_items);
|
unsigned long long n = std::min(d_nitems - d_ncopied_items, (long long unsigned int)noutput_items);
|
||||||
if (n == 0) return 0;
|
if (n == 0) return 0;
|
||||||
memcpy (output_items[0], input_items[0], n * input_signature()->sizeof_stream_item(0));
|
memcpy (output_items[0], input_items[0], n * input_signature()->sizeof_stream_item(0));
|
||||||
d_ncopied_items += n;
|
d_ncopied_items += n;
|
||||||
|
Loading…
Reference in New Issue
Block a user