mirror of
https://github.com/curl/curl.git
synced 2026-06-04 13:04:17 +03:00
Update docs/examples/websocket.c
Co-authored-by: Viktor Szakats <vszakats@users.noreply.github.com>
This commit is contained in:
parent
ca403d815d
commit
54ce9ee4eb
1 changed files with 7 additions and 0 deletions
|
|
@ -36,6 +36,13 @@
|
|||
*/
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wsign-conversion"
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wsign-conversion"
|
||||
#ifdef __DJGPP__
|
||||
#pragma GCC diagnostic ignored "-Warith-conversion"
|
||||
#endif
|
||||
#elif defined(_MSC_VER)
|
||||
#pragma warning(disable:4127) /* conditional expression is constant */
|
||||
#endif
|
||||
|
||||
/* Auxiliary function that waits on the socket. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue