Skip to content

Commit

Permalink
cast fd
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Jul 26, 2022
1 parent 815c602 commit 91959bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ static struct re *re_get(void)
static uint32_t fhs_hash(struct re *re, re_sock_t fd)
{
if (fd < re->maxfds)
return fd;
return (uint32_t)fd;

#ifdef WIN32
uint32_t h;
Expand Down

0 comments on commit 91959bc

Please sign in to comment.