]> sigrok.org Git - libsigrok.git/commit
input/wav: Fix incorrect memset() call.
authorUwe Hermann <redacted>
Sat, 24 Jun 2017 15:26:02 +0000 (17:26 +0200)
committerUwe Hermann <redacted>
Sat, 24 Jun 2017 15:26:02 +0000 (17:26 +0200)
commit1a14a6234910ee388574badc7c6a94fd637b21cd
tree64115d6a7ed440af18cbc51957c73f046b39c54c
parent41b8fca1a16479ebe2761fa63f0dcb86f0bb4c8f
input/wav: Fix incorrect memset() call.

  ../src/input/wav.c: In function ‘send_chunk’:
  ../src/input/wav.c:200:2: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
    memset(fdata, 0, CHUNK_SIZE);
    ^~~~~~
src/input/wav.c