1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-15 11:45:47 +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:
Carles Fernandez 2013-09-02 17:54:37 +00:00
parent 8c5a12e126
commit 4e08e97fb6

View File

@ -69,7 +69,7 @@ int gnss_sdr_valve::work (int noutput_items,
delete cmf;
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;
memcpy (output_items[0], input_items[0], n * input_signature()->sizeof_stream_item(0));
d_ncopied_items += n;