Skip to content

Commit

Permalink
ALSA: sound/drivers/vx: fix sparse warning: different signedness
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
hanneseder-net authored and tiwai committed Feb 26, 2009
1 parent 3a755ec commit d73d341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/drivers/vx/vx_uer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d73d341

Please sign in to comment.