Skip to content
Success

Changes

Summary

  1. ccid_gen_notify_slot_status: add msgb_put cast (details)
Commit 55b2875e57e721c82dbebcea472d08c7046eb4be by Oliver Smith
ccid_gen_notify_slot_status: add msgb_put cast

Fix this error seen in master-osmo-ccid-firmware after switching to
debian trixie with 14.2:

../main.c:338:57: error: initialization of 'struct ccid_rdr_to_pc_notify_slot_change *' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types]
  338 |         struct ccid_rdr_to_pc_notify_slot_change *nsc = msgb_put(msg, sizeof(*nsc) + sizeof(statusbytes));

Change-Id: I5618297533246adc8adaacf49fd58ec1f0f97cfc
The file was modifiedsysmoOCTSIM/main.c