Skip to content

Commit

Permalink
examples/sendrecv: fix comment line length
Browse files Browse the repository at this point in the history
Caught by checksrc.
  • Loading branch information
jay committed Dec 26, 2023
1 parent 9faeebc commit 82cbdd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/examples/sendrecv.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ static int wait_on_socket(curl_socket_t sockfd, int for_recv, long timeout_ms)
FD_ZERO(&errfd);

/* Avoid this warning with pre-2020 Cygwin/MSYS releases:
* warning: conversion to 'long unsigned int' from 'curl_socket_t' {aka 'int'} may change the sign of the result [-Wsign-conversion]
* warning: conversion to 'long unsigned int' from 'curl_socket_t' {aka 'int'}
* may change the sign of the result [-Wsign-conversion]
*/
#if defined(__GNUC__) && defined(__CYGWIN__)
#pragma GCC diagnostic push
Expand Down

0 comments on commit 82cbdd8

Please sign in to comment.