X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Finput%2Fwav.c;h=611878e850495f79342cb0b4091c61d2dc9b50d4;hb=f3f19d1131025b68d29a11273b627c83d748e7ea;hp=88ddd7a814dd07b5f4ab18477871ff1b82fbe531;hpb=1beccaed464a4d92a070988a0331fe399f9f7a7a;p=libsigrok.git diff --git a/src/input/wav.c b/src/input/wav.c index 88ddd7a8..611878e8 100644 --- a/src/input/wav.c +++ b/src/input/wav.c @@ -160,7 +160,7 @@ static int find_data_chunk(GString *buf, int initial_offset) unsigned int offset, i; offset = initial_offset; - while(offset < MIN(MAX_DATA_CHUNK_OFFSET, buf->len)) { + while (offset < MIN(MAX_DATA_CHUNK_OFFSET, buf->len)) { if (!memcmp(buf->str + offset, "data", 4)) /* Skip into the samples. */ return offset + 8;