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

@ -147,7 +147,7 @@ static const char *win32_strerror(int err, char *buf, size_t buflen)
void win32_perror(const char *msg)
{
char buf[512];
DWORD err = SOCKERRNO;
int err = SOCKERRNO;
win32_strerror(err, buf, sizeof(buf));
if(msg)
fprintf(stderr, "%s: ", msg);