Commit 3c527aeb authored by Kai Vehmanen's avatar Kai Vehmanen

Fixed compiler warnings in sresolv: signedness mismatches.

darcs-hash:20061218115537-7659e-2052f1ab47d6d9c3ed5cc6537348e3fe29c09e4f.gz
parent 20ca20f7
......@@ -1641,7 +1641,7 @@ int test_net(sres_context_t *ctx)
TEST_1(bin = hex2bin(__func__, hextest, NULL, &binlen));
/* Send responses with one erroneus byte */
for (i = 1; i < binlen; i++) {
for (i = 1; i < (int)binlen; i++) {
if (!q) {
/* We got an error => make new query */
TEST_1(q = sres_query(res, test_answer, ctx, /* Send query */
......@@ -1669,7 +1669,7 @@ int test_net(sres_context_t *ctx)
}
/* Send runt responses */
for (i = 1; i <= binlen; i++) {
for (i = 1; i <= (int)binlen; i++) {
if (!q) {
/* We got an error => make new query */
TEST_1(q = sres_query(res, test_answer, ctx, /* Send query */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment