diff options
Diffstat (limited to 'src/rfc1035.c')
-rwxr-xr-x | src/rfc1035.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfc1035.c b/src/rfc1035.c index a12c3b0..d13f5bf 100755 --- a/src/rfc1035.c +++ b/src/rfc1035.c @@ -1142,7 +1142,7 @@ size_t answer_request(HEADER *header, char *limit, size_t qlen, struct mx_srv_record *rec; // Make sure we do not underflow here too. - if (qlen > (limit - ((char *)header))) return 0; + if (qlen > (size_t)(limit - ((char *)header))) return 0; /* If there is an RFC2671 pseudoheader then it will be overwritten by partial replies, so we have to do a dry run to see if we can answer |