From: Takashi Iwai Date: Tue, 8 Mar 2011 17:20:46 +0000 (+0100) Subject: ALSA: asihpi - Use %zd for size_t argument in error message X-Git-Tag: v2.6.39-rc1~424^2^2~18 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a2800300f28bd1814f3ba8cfd93ecb0b00c2dfe3;p=karo-tx-linux.git ALSA: asihpi - Use %zd for size_t argument in error message Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/asihpi/hpi6205.c b/sound/pci/asihpi/hpi6205.c index 33136cb0d251..620525bdac59 100644 --- a/sound/pci/asihpi/hpi6205.c +++ b/sound/pci/asihpi/hpi6205.c @@ -2088,7 +2088,7 @@ static u16 message_response_sequence(struct hpi_adapter_obj *pao, phr->specific_error = sizeof(interface->u); phr->size = sizeof(struct hpi_response_header); HPI_DEBUG_LOG(ERROR, - "message len %d too big for buffer %ld \n", phm->size, + "message len %d too big for buffer %zd \n", phm->size, sizeof(interface->u)); return 0; }