[vlc-devel] [PATCH v2] access_output: udp: fix conversion from uint8_t* on Windows

Rémi Denis-Courmont remi at remlab.net
Fri Mar 27 16:39:18 CET 2020


Le perjantaina 27. maaliskuuta 2020, 17.10.49 EET Alexandre Janniaux a écrit :
> Like discussed on the mailing list, casting to char* would be incorrect

You have a uint8_t * here. You can only convert it to unsigned char * (1) or 
keep it as is.

Casting it to void * to mute pointer type warnings is something that we have 
consistently rejected, as it essentially amounts to hiding bugs.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list