mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-09 11:26:00 +03:00
firmware: fix various compiler warnings
This commit is contained in:
1 parent
9f38dddfcc
commit
b91f6ad848
2 files changed
+4
-4
No files matched your search
@@ -165,7 +165,7 @@ static void set_pts_state(struct card_handle *ch, enum pts_state new_ptss);
|
||||
/* update simtrace header msg_len and submit USB buffer */
|
||||
void usb_buf_upd_len_and_submit(struct msgb *msg)
|
||||
{
|
||||
struct simtrace_msg_hdr *sh = msg->l1h;
|
||||
struct simtrace_msg_hdr *sh = (struct simtrace_msg_hdr *) msg->l1h;
|
||||
|
||||
sh->msg_len = msgb_length(msg);
|
||||
|
||||
|
||||
Reference in new issue
Block a user