]> git.hungrycats.org Git - linux/commitdiff
[PATCH] gcc-3.5: sound/core/seq/seq_clientmgr.c
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:34:33 +0000 (18:34 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:34:33 +0000 (18:34 -0800)
sound/core/seq/seq_clientmgr.c: In function `snd_seq_open':
sound/core/seq/seq_clientmgr.c:331: warning: use of cast expressions as lvalues is deprecated

sound/core/seq/seq_clientmgr.c

index 553cee86f607b4b2ea24cb944974538f4e329a71..f923f2f23db420ba43dee085f2aba4ce0824fd10 100644 (file)
@@ -328,7 +328,7 @@ static int snd_seq_open(struct inode *inode, struct file *file)
        up(&register_mutex);
 
        c = client->number;
-       (user_client_t *) file->private_data = client;
+       file->private_data = client;
 
        /* fill client data */
        user->file = file;