Skip to content

Commit

Permalink
Typo: wrong order of params in libwpd.c
Browse files Browse the repository at this point in the history
  • Loading branch information
petabyt committed Jan 14, 2024
1 parent dba561a commit 37e765f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libwpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 37e765f

Please sign in to comment.