mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
io: fix data types for sample count
This commit is contained in:
parent
2e3a6ef90b
commit
9a8f2e488e
2 changed files with 4 additions and 4 deletions
|
@ -76,9 +76,9 @@ int io_open(struct io *io, const char *uri);
|
|||
|
||||
int io_close(struct io *io);
|
||||
|
||||
int io_print(struct io *io, struct sample *smps[], size_t cnt);
|
||||
int io_print(struct io *io, struct sample *smps[], unsigned cnt);
|
||||
|
||||
int io_scan(struct io *io, struct sample *smps[], size_t cnt);
|
||||
int io_scan(struct io *io, struct sample *smps[], unsigned cnt);
|
||||
|
||||
int io_eof(struct io *io);
|
||||
|
||||
|
|
4
lib/io.c
4
lib/io.c
|
@ -212,7 +212,7 @@ void io_rewind(struct io *io)
|
|||
: io_stream_rewind(io);
|
||||
}
|
||||
|
||||
int io_print(struct io *io, struct sample *smps[], size_t cnt)
|
||||
int io_print(struct io *io, struct sample *smps[], unsigned cnt)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
@ -247,7 +247,7 @@ int io_print(struct io *io, struct sample *smps[], size_t cnt)
|
|||
return ret;
|
||||
}
|
||||
|
||||
int io_scan(struct io *io, struct sample *smps[], size_t cnt)
|
||||
int io_scan(struct io *io, struct sample *smps[], unsigned cnt)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue