silence signed/unsigned compare warning

This commit is contained in:
Mark Andrews
2013-04-09 06:32:10 +10:00
parent c4a453fa5c
commit 11d945cd75
+1 -1
View File
@@ -3540,7 +3540,7 @@ dns_message_buildopt(dns_message_t *message, dns_rdataset_t **rdatasetp,
/*
* Set EDNS options if applicable
*/
if (count != 0) {
if (count != 0U) {
isc_buffer_t *buf = NULL;
for (i = 0; i < count; i++)
len += ednsopts[i].length + 4;