mirror of
https://github.com/curl/curl.git
synced 2026-08-26 14:53:33 +03:00
tests: tidy up types in server code
Cherry-picked from #13489 Closes #13610
This commit is contained in:
parent
7333faf00b
commit
0c49ea4ff2
7 changed files with 29 additions and 29 deletions
|
|
@ -89,10 +89,10 @@ typedef enum {
|
|||
RPROT_HTTP = 2
|
||||
} reqprot_t;
|
||||
|
||||
#define SET_RTP_PKT_CHN(p,c) ((p)[1] = (unsigned char)((c) & 0xFF))
|
||||
#define SET_RTP_PKT_CHN(p,c) ((p)[1] = (char)((c) & 0xFF))
|
||||
|
||||
#define SET_RTP_PKT_LEN(p,l) (((p)[2] = (unsigned char)(((l) >> 8) & 0xFF)), \
|
||||
((p)[3] = (unsigned char)((l) & 0xFF)))
|
||||
#define SET_RTP_PKT_LEN(p,l) (((p)[2] = (char)(((l) >> 8) & 0xFF)), \
|
||||
((p)[3] = (char)((l) & 0xFF)))
|
||||
|
||||
struct httprequest {
|
||||
char reqbuf[REQBUFSIZ]; /* buffer area for the incoming request */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue