mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
formats: fix parentheses around char array expression
This commit is contained in:
parent
9aaed6d7a8
commit
ad12431aaa
2 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ static size_t csv_sscan_single(struct io *io, const char *buf, size_t len, struc
|
|||
if (sig->type == SIGNAL_TYPE_AUTO) {
|
||||
|
||||
/* Find end of the current column */
|
||||
next = strpbrk(ptr, (char[]) { io->separator, io->delimiter, 0 });
|
||||
next = strpbrk(ptr, ((char[]) { io->separator, io->delimiter, 0 }));
|
||||
if (next == NULL)
|
||||
goto out;
|
||||
|
||||
|
|
|
@ -146,7 +146,7 @@ static size_t villas_human_sscan_single(struct io *io, const char *buf, size_t l
|
|||
if (sig->type == SIGNAL_TYPE_AUTO) {
|
||||
|
||||
/* Find end of the current column */
|
||||
next = strpbrk(ptr, (char[]) { io->separator, io->delimiter, 0 });
|
||||
next = strpbrk(ptr, ((char[]) { io->separator, io->delimiter, 0 }));
|
||||
if (next == NULL)
|
||||
goto out;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue