summaryrefslogtreecommitdiffstats
path: root/sound/core/wrappers.c
diff options
context:
space:
mode:
authorVictor Fusco <victor@cetuc.puc-rio.br>2005-07-26 13:42:31 +0200
committerJaroslav Kysela <perex@suse.cz>2005-07-28 12:22:44 +0200
commit5a0f217d96656068f0f1e5cda16c35945f979b16 (patch)
tree47b5eb5d011c8593c4fe0522ac8f6910a3440372 /sound/core/wrappers.c
parent854af9578cb84e4ca3cb1551a6be40c4e81bb455 (diff)
downloadblackbird-obmc-linux-5a0f217d96656068f0f1e5cda16c35945f979b16.tar.gz
blackbird-obmc-linux-5a0f217d96656068f0f1e5cda16c35945f979b16.zip
[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>
Diffstat (limited to 'sound/core/wrappers.c')
-rw-r--r--sound/core/wrappers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/wrappers.c b/sound/core/wrappers.c
index 9f393023c327..508e6d67ee19 100644
--- a/sound/core/wrappers.c
+++ b/sound/core/wrappers.c
@@ -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);
}
OpenPOWER on IntegriCloud