[ALSA] sound/core Fix the sparse warning 'implicit cast to nocast type'

Memalloc module,ALSA Core,Instrument layer
Fix the sparse warning 'implicit cast to nocast type'

File/Subsystem:sound/core

Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
Victor Fusco
2005-07-26 13:42:31 +02:00
committed by Jaroslav Kysela
parent 854af9578c
commit 5a0f217d96
7 changed files with 18 additions and 14 deletions

View File

@ -27,7 +27,7 @@
#include <linux/fs.h>
#ifdef CONFIG_SND_DEBUG_MEMORY
void *snd_wrapper_kmalloc(size_t size, int flags)
void *snd_wrapper_kmalloc(size_t size, unsigned int __nocast flags)
{
return kmalloc(size, flags);
}