You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
415 B

  1. --- a/artnet/transmit.c
  2. +++ b/artnet/transmit.c
  3. @@ -163,7 +163,7 @@ int artnet_tx_tod_data(node n, int id) {
  4. bloc = 0;
  5. while (remaining > 0) {
  6. - memset(&tod.data.toddata.tod,0x00, ARTNET_MAX_UID_COUNT);
  7. + memset(&tod.data.toddata.tod,0x00, sizeof(tod.data.toddata.tod));
  8. lim = min(ARTNET_MAX_UID_COUNT, remaining);
  9. tod.data.toddata.blockCount = bloc++;
  10. tod.data.toddata.uidCount = lim;