tests: tidy up types in server code

Cherry-picked from #13489
Closes #13610
This commit is contained in:
Viktor Szakats 2024-05-12 21:14:06 +02:00
parent 7333faf00b
commit 0c49ea4ff2
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
7 changed files with 29 additions and 29 deletions

View file

@ -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 */