mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
uldaq: fix compare of differing signedness
This commit is contained in:
parent
4038ec03bc
commit
2d7941ea17
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ int uldaq_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned *re
|
|||
if (u->in.status != SS_RUNNING)
|
||||
return -1;
|
||||
|
||||
long long start_index = u->in.buffer_pos;
|
||||
size_t start_index = u->in.buffer_pos;
|
||||
|
||||
/* Wait for data available condition triggered by event callback */
|
||||
if (start_index + n->in.vectorize * u->in.channel_count > u->in.transfer_status.currentScanCount)
|
||||
|
|
Loading…
Add table
Reference in a new issue