ALSA: sound/drivers/vx: fix sparse warning: different signedness
authorHannes Eder <hannes@hanneseder.net>
Wed, 25 Feb 2009 21:29:15 +0000 (22:29 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Feb 2009 08:57:21 +0000 (09:57 +0100)
Fix this sparse warning:
  sound/drivers/vx/vx_uer.c:301:42: warning: incorrect type in argument 2 (different signedness)

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/vx/vx_uer.c

index 0e1ba9b..b0560fe 100644 (file)
@@ -103,7 +103,7 @@ static void vx_write_one_cbit(struct vx_core *chip, int index, int val)
  * returns the frequency of UER, or 0 if not sync,
  * or a negative error code.
  */
-static int vx_read_uer_status(struct vx_core *chip, int *mode)
+static int vx_read_uer_status(struct vx_core *chip, unsigned int *mode)
 {
        int val, freq;