Explorar o código

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

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>
Takashi Iwai %!s(int64=14) %!d(string=hai) anos
pai
achega
e66d74ced1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sound/pci/asihpi/hpi6205.c

+ 1 - 1
sound/pci/asihpi/hpi6205.c

@@ -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;
 	}