Skip to content
Snippets Groups Projects
Commit 0b2963c5 authored by Sven Robertz's avatar Sven Robertz
Browse files

added typecast tp thr_msg_handler_t

parent 51122380
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ static int decode(int argc, char *argv[]) { ...@@ -76,7 +76,7 @@ static int decode(int argc, char *argv[]) {
} }
else else
{ {
p_thr_chn = thr_open_chn(dest_mac, chn_id, frag_size, freq, labcomm_decoder_decode_one); p_thr_chn = thr_open_chn(dest_mac, chn_id, frag_size, freq, (thr_msg_handler_t)labcomm_decoder_decode_one);
decoder = labcomm_decoder_new(labcomm_thr_reader, p_thr_chn); decoder = labcomm_decoder_new(labcomm_thr_reader, p_thr_chn);
if (!decoder) if (!decoder)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment