ALSA: asihpi - Use %zd for size_t argument in error message (again)
Takashi Iwai [Tue, 8 Mar 2011 17:20:46 +0000 (18:20 +0100)]
This was reverted mistakenly in the recent update patch.
Fixed again.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

sound/pci/asihpi/hpi6205.c

index 5303734..3b5562a 100644 (file)
@@ -2089,7 +2089,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;
        }