Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af134528 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela
Browse files

ALSA: wavefront - add const



Fix const to non-const pointer cast warning in wavefront_synth.c.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent ee2da997
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1939,7 +1939,7 @@ static int __devinit
wavefront_download_firmware (snd_wavefront_t *dev, char *path)
wavefront_download_firmware (snd_wavefront_t *dev, char *path)


{
{
	unsigned char *buf;
	const unsigned char *buf;
	int len, err;
	int len, err;
	int section_cnt_downloaded = 0;
	int section_cnt_downloaded = 0;
	const struct firmware *firmware;
	const struct firmware *firmware;