From: Takashi Iwai Date: Wed, 22 Sep 2004 15:21:51 +0000 (+0000) Subject: Fix the variable types in struct X-Git-Tag: android-x86-9.0-r1~1950 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9c0c1719856cb3213ae0b5f3cdf1ad4184bd7aa5;p=android-x86%2Fexternal-alsa-lib.git Fix the variable types in struct The variable types are declared explicitly like u_int32_t and u_int64_t to avoid ambiguity. --- diff --git a/include/sound/hdsp.h b/include/sound/hdsp.h index ba60c144..b1c7a33d 100644 --- a/include/sound/hdsp.h +++ b/include/sound/hdsp.h @@ -32,13 +32,13 @@ typedef enum { typedef struct _snd_hdsp_peak_rms hdsp_peak_rms_t; struct _snd_hdsp_peak_rms { - unsigned int input_peaks[26]; - unsigned int playback_peaks[26]; - unsigned int output_peaks[28]; - unsigned long long input_rms[26]; - unsigned long long playback_rms[26]; + u_int32_t input_peaks[26]; + u_int32_t playback_peaks[26]; + u_int32_t output_peaks[28]; + u_int64_t input_rms[26]; + u_int64_t playback_rms[26]; /* These are only used for H96xx cards */ - unsigned long long output_rms[26]; + u_int64_t output_rms[26]; }; #define SNDRV_HDSP_IOCTL_GET_PEAK_RMS _IOR('H', 0x40, hdsp_peak_rms_t)