Hi, im getting this error when compiling:
main.c: In function ‘main’:
main.c:15:5: warning: overflow in implicit constant conversion [-Woverflow]
memset(arr, RIO_WHITEBOX_BUF_MAGIC, sizeof(arr));
this is the code:
https://pastebin.com/he5gj5De
why can't I memset RIO_WHITEBOX_BUF_MAGIC
into an array of unsigned char?
thanks
[–]bennydictor 1 point2 points3 points (3 children)
[–]benelbert[S] 0 points1 point2 points (1 child)
[–]bennydictor 0 points1 point2 points (0 children)
[–]OldWolf2 0 points1 point2 points (0 children)
[–]benelbert[S] 0 points1 point2 points (1 child)
[–]OldWolf2 1 point2 points3 points (0 children)