Skip to content

Commit

Permalink
lib multi FIXUP 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Apr 27, 2024
1 parent 8d8f106 commit f83c29a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/multi.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ static size_t hash_fd(void *key, size_t key_length, size_t slots_num)
curl_socket_t fd = *((curl_socket_t *) key);
(void) key_length;

return (size_t)(fd % slots_num);
return (size_t)(fd % (curl_socket_t)slots_num);
}

/*
Expand Down

0 comments on commit f83c29a

Please sign in to comment.