Skip to content
Snippets Groups Projects
Commit a2d48b2a authored by Matt Selsky's avatar Matt Selsky Committed by Gary E. Miller
Browse files

Silence warning about sign comparison on some Linux distributions

../../ntpd/ntp_io.c:3295:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

We know that cnt is non-negative at this point and it should be safe to cast to
unsigned.

https://bugs.webkit.org/show_bug.cgi?id=102061

 took a similar approach in the
WebKit codebase.

Signed-off-by: Gary E. Miller's avatarGary E. Miller <gem@rellim.com>
parent e6b218ed
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment