[PATCH] Fix signedness issue in src/nb_dns.c

Hi,

This patch

- uses socklet_t where appropriate
- fixes signedness issue

  Kevin

patch-nb_dns.c (934 Bytes)

Thanks for the patch!

Robin Sommer wrote:

Thanks for the patch!

> - hp = (HEADER *)msg;
> + hp = (HEADER *)(u_char *)msg;

I'm not sure I understand this change? Isn't the second cast
neutralized by the first?

Oops, I sent the wrong diff :frowning:
Here's the correct patch. Sorry for the confusion!

Robin

  Kevin

patch-src-nb_dns.c (765 Bytes)

Thanks, integrated into my branch to be later merged into trunk.

Robin