Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133171
b: refs/heads/master
c: 5d44aa4
h: refs/heads/master
i:
  133169: fec20d9
  133167: 9b0fc66
v: v3
  • Loading branch information
Hannes Eder authored and Takashi Iwai committed Feb 26, 2009
1 parent 90a6dfe commit aa425cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eca985d28e1a8092ba2686ec5485fd688df5cfb3
refs/heads/master: 5d44aa4c7322e0cda6d71cc3f0dffaceea0daae5
12 changes: 6 additions & 6 deletions trunk/sound/oss/pss.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,9 @@ static void pss_mixer_reset(pss_confdata *devc)
}
}

static int set_volume_mono(unsigned __user *p, int *aleft)
static int set_volume_mono(unsigned __user *p, unsigned int *aleft)
{
int left;
unsigned volume;
unsigned int left, volume;
if (get_user(volume, p))
return -EFAULT;

Expand All @@ -471,10 +470,11 @@ static int set_volume_mono(unsigned __user *p, int *aleft)
return 0;
}

static int set_volume_stereo(unsigned __user *p, int *aleft, int *aright)
static int set_volume_stereo(unsigned __user *p,
unsigned int *aleft,
unsigned int *aright)
{
int left, right;
unsigned volume;
unsigned int left, right, volume;
if (get_user(volume, p))
return -EFAULT;

Expand Down

0 comments on commit aa425cf

Please sign in to comment.