Skip to content

Commit

Permalink
ASoC: Fix a compile warning for printk format
Browse files Browse the repository at this point in the history
  sound/soc/codecs/wm8985.c: In function 'wm8985_hw_params':
  sound/soc/codecs/wm8985.c:731:2: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

Actually the variable is fine as int.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Sep 27, 2010
1 parent 35e6044 commit cf1ff50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8985.c
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ static int wm8985_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params,
struct snd_soc_dai *dai)
{
size_t i;
int i;
struct snd_soc_codec *codec;
struct wm8985_priv *wm8985;
u16 blen, srate_idx;
Expand Down

0 comments on commit cf1ff50

Please sign in to comment.