From 37e765f879ae88abfaf8cb03ae76ba3d056e5dbc Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 13 Jan 2024 23:04:51 -0500 Subject: [PATCH] Typo: wrong order of params in libwpd.c --- src/libwpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libwpd.c b/src/libwpd.c index ea9697f..4aeddb9 100644 --- a/src/libwpd.c +++ b/src/libwpd.c @@ -145,7 +145,7 @@ int ptp_receive_bulk_packets(struct PtpRuntime *r) { bulk->length = 12; bulk->code = PTP_RC_OK; bulk->type = PTP_PACKET_TYPE_RESPONSE; - memset(bulk->params, 5 * sizeof(uint32_t), 0); + memset(bulk->params, 0, 5 * sizeof(uint32_t)); return 12; }