]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hdspm - Fix compile warnings with PPC
authorTakashi Iwai <tiwai@suse.de>
Thu, 30 Jun 2011 10:45:36 +0000 (12:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Jun 2011 10:45:36 +0000 (12:45 +0200)
commit8a96026daf95f6eb5254b37cd736f1f8bb861151
tree248e7912053dbc6069d93f8356a89a917aa1ddb3
parent55bc3904186fc1d3cfa85fa71f4c23ea6af922c9
ALSA: hdspm - Fix compile warnings with PPC

The char can be unsigned on some architectures.  Since the code checks
the negative values, they should be declared as signed char explicitly.

  sound/pci/rme9652/hdspm.c:5449: warning: comparison is always false due to limited range of data type
  sound/pci/rme9652/hdspm.c:5462: warning: comparison is always false due to limited range of data type

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c