Commit a2800300 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: asihpi - Use %zd for size_t argument in error message

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0e82e5fa
...@@ -2088,7 +2088,7 @@ static u16 message_response_sequence(struct hpi_adapter_obj *pao, ...@@ -2088,7 +2088,7 @@ static u16 message_response_sequence(struct hpi_adapter_obj *pao,
phr->specific_error = sizeof(interface->u); phr->specific_error = sizeof(interface->u);
phr->size = sizeof(struct hpi_response_header); phr->size = sizeof(struct hpi_response_header);
HPI_DEBUG_LOG(ERROR, 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)); sizeof(interface->u));
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment