[Libwebsockets] What is (char)(long)pvo->value ?
hanguofu at 163.com
Wed Feb 22 05:07:30 CET 2017
Hi , there :
I am trying to compile lws library in windows but has a problem with the following statement in server.c :
wsi->protocol_interpret_idx = (char)(long)pvo->value;
The compiler is unhappy about that in release version ( in dubug version , anything is fine ) . I donot want to disable the warnings C4311 and C4302 for it. Is it possible to modify the source code to fix the warnings ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets