]> git.alsa-project.org Git - alsa-plugins.git/commit
a52: fix restricted parameter for swab()
authorJaroslav Kysela <perex@perex.cz>
Wed, 16 Jun 2021 15:29:38 +0000 (17:29 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 16 Jun 2021 15:29:39 +0000 (17:29 +0200)
commitd9ac3f333f69cecf1914a0a265fb96195afc2c2a
tree4be1161f21b68a490509c57c43c4b9b9260a2431
parentd5d648a705c15445bec93f422b47d8633e66f308
a52: fix restricted parameter for swab()

pcm_a52.c: In function ‘convert_data’:
pcm_a52.c:183:24: warning: passing argument 2 to ‘restrict’-qualified parameter aliases with argument 1 [-Wrestrict]
  183 |   swab(rec->outbuf, rec->outbuf, out_bytes + 8);
      |        ~~~~~~~~~~~  ~~~^~~~~~~~

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
a52/pcm_a52.c