Commit 59d9bb59 authored by Richard Levitte's avatar Richard Levitte
Browse files

Make sure a socklen_t can compare with a sizeof() result



Most of the times, it seems that socklen_t is unsigned.
Unfortunately, this isn't always the case, and it doesn't compare with
a size_t without warning.

A cast resolves the issue.

Reviewed-by: default avatarKurt Roeckx <kurt@openssl.org>
parent ba327ade
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment