You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gcc libusb-config --cflags -O -Wall -c uDMX.c
uDMX.c: In function ‘main’:
uDMX.c:131:37: warning: pointer targets in passing argument 6 of ‘usb_control_msg’ differ in signedness [-Wpointer-sign]
131 | cmd_StartBootloader, 0, 0, buffer, sizeof(buffer), 5000);
| ^~~~~~
| |
| unsigned char *
In file included from uDMX.c:22:
/usr/include/usb.h:313:30: note: expected ‘char *’ but argument is of type ‘unsigned char *’
313 | int value, int index, char *bytes, int size, int timeout);
| ~~~~~~^~~~~
uDMX.c:145:48: warning: pointer targets in passing argument 6 of ‘usb_control_msg’ differ in signedness [-Wpointer-sign]
145 | cmd_SetSingleChannel, value, channel, buffer, sizeof(buffer), 5000);
| ^~~~~~
| |
| unsigned char *
In file included from uDMX.c:22:
/usr/include/usb.h:313:30: note: expected ‘char *’ but argument is of type ‘unsigned char *’
313 | int value, int index, char *bytes, int size, int timeout);
| ~~~~~~^~~~~
uDMX.c:157:48: warning: pointer targets in passing argument 6 of ‘usb_control_msg’ differ in signedness [-Wpointer-sign]
157 | cmd_SetChannelRange, argc-2, channel, buf, argc-2, 5000);
| ^~~
| |
| unsigned char *
In file included from uDMX.c:22:
/usr/include/usb.h:313:30: note: expected ‘char *’ but argument is of type ‘unsigned char *’
313 | int value, int index, char *bytes, int size, int timeout);
| ~~~~~~^~~~~
gcc -o uDMX uDMX.o libusb-config --libs
The text was updated successfully, but these errors were encountered:
gcc
libusb-config --cflags
-O -Wall -c uDMX.cuDMX.c: In function ‘main’:
uDMX.c:131:37: warning: pointer targets in passing argument 6 of ‘usb_control_msg’ differ in signedness [-Wpointer-sign]
131 | cmd_StartBootloader, 0, 0, buffer, sizeof(buffer), 5000);
| ^~~~~~
| |
| unsigned char *
In file included from uDMX.c:22:
/usr/include/usb.h:313:30: note: expected ‘char *’ but argument is of type ‘unsigned char *’
313 | int value, int index, char *bytes, int size, int timeout);
| ~~~~~~^~~~~
uDMX.c:145:48: warning: pointer targets in passing argument 6 of ‘usb_control_msg’ differ in signedness [-Wpointer-sign]
145 | cmd_SetSingleChannel, value, channel, buffer, sizeof(buffer), 5000);
| ^~~~~~
| |
| unsigned char *
In file included from uDMX.c:22:
/usr/include/usb.h:313:30: note: expected ‘char *’ but argument is of type ‘unsigned char *’
313 | int value, int index, char *bytes, int size, int timeout);
| ~~~~~~^~~~~
uDMX.c:157:48: warning: pointer targets in passing argument 6 of ‘usb_control_msg’ differ in signedness [-Wpointer-sign]
157 | cmd_SetChannelRange, argc-2, channel, buf, argc-2, 5000);
| ^~~
| |
| unsigned char *
In file included from uDMX.c:22:
/usr/include/usb.h:313:30: note: expected ‘char *’ but argument is of type ‘unsigned char *’
313 | int value, int index, char *bytes, int size, int timeout);
| ~~~~~~^~~~~
gcc -o uDMX uDMX.o
libusb-config --libs
The text was updated successfully, but these errors were encountered: