vanvught / rpidmx512

Orange Pi DMX512 / RDM / MIDI / OSC / Art-Net / WS28xx / L6470 / Stepper / TLC59711 / PCA9685 / Servo / PWM / TCNet / SMPTE / RDMNet / LLRP / GD32 / GigaDevice / Raspberry Pi
http://www.orangepi-dmx.org/
MIT License
399 stars 108 forks source link

Actions workflow: error: conversion #259

Closed vanvught closed 1 year ago

vanvught commented 1 year ago
src/artnet/artnetrdmcontroller.cpp:210:79: error: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Werror=conversion]
[435](https://github.com/vanvught/rpidmx512/actions/runs/3612916020/jobs/6088333398#step:6:436)
  210 |  s_rdmMessage.message_length = static_cast<uint8_t>(RDM_MESSAGE_MINIMUM_SIZE) + s_rdmMessage.param_data_length;
[436](https://github.com/vanvught/rpidmx512/actions/runs/3612916020/jobs/6088333398#step:6:437)
  |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~