Skip to content

Commit

Permalink
rtmp: fix win32 warning (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers authored Feb 25, 2022
1 parent 6e30dbe commit dc3f658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtmp/amf.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ int rtmp_command_header_encode(struct mbuf *mb, const char *name, uint64_t tid)
return EINVAL;

err = rtmp_amf_encode_string(mb, name);
err |= rtmp_amf_encode_number(mb, tid);
err |= rtmp_amf_encode_number(mb, (double)tid);

return err;
}
Expand Down

0 comments on commit dc3f658

Please sign in to comment.