summaryrefslogtreecommitdiff
path: root/sound/core/seq/instr/ainstr_gf1.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/seq/instr/ainstr_gf1.c
parent854af9578cb84e4ca3cb1551a6be40c4e81bb455 (diff)
[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/seq/instr/ainstr_gf1.c')
-rw-r--r--sound/core/seq/instr/ainstr_gf1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/core/seq/instr/ainstr_gf1.c b/sound/core/seq/instr/ainstr_gf1.c
index 0779c41ca03..32e91c6b25f 100644
--- a/sound/core/seq/instr/ainstr_gf1.c
+++ b/sound/core/seq/instr/ainstr_gf1.c
@@ -50,7 +50,8 @@ static int snd_seq_gf1_copy_wave_from_stream(snd_gf1_ops_t *ops,
{
gf1_wave_t *wp, *prev;
gf1_xwave_t xp;
- int err, gfp_mask;
+ int err;
+ unsigned int gfp_mask;
unsigned int real_size;
gfp_mask = atomic ? GFP_ATOMIC : GFP_KERNEL;