mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-10-06 19:59:41 +00:00
compiler warning fix
This commit is contained in:
@ -73,7 +73,7 @@ void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen,
|
||||
}
|
||||
|
||||
/* Compute the query ID. Start with no timeout. */
|
||||
query->qid = DNS_HEADER_QID(qbuf);
|
||||
query->qid = (unsigned short)DNS_HEADER_QID(qbuf);
|
||||
query->timeout = 0;
|
||||
|
||||
/* Form the TCP query buffer by prepending qlen (as two
|
||||
|
Reference in New Issue
Block a user