Commit 0aeb5258 authored by Federico Vaga's avatar Federico Vaga

wrtd:rt: minor fix, cast the right thing

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>


NOTE
This commit has been created by `git subtree` on the Mock Turtle repository
on tag mock-turtle-2.0

This commit will not compile
parent 7a941b56
......@@ -94,7 +94,7 @@ static int wrtd_in_trigger_log(int type, int miss_reason,
return;
out_buf = rt_mq_claim_out(&hdr);
log = rt_proto_payload_get((struct wrtd_log_entry *) out_buf.data);
log = (struct wrtd_log_entry *)rt_proto_payload_get(out_buf.data);
log->type = type;
log->channel = st->n;
log->miss_reason = miss_reason;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment