[netperf-dev] netperf4 commit notice r187 - trunk/suites/dns
raj at netperf.org
raj at netperf.org
Wed Jun 28 15:36:08 PDT 2006
Author: raj
Date: 2006-06-28 15:36:06 -0700 (Wed, 28 Jun 2006)
New Revision: 187
Modified:
trunk/suites/dns/nettest_dns.c
Log:
Cleanup a Solaris warning in nettest_dns.c
Modified: trunk/suites/dns/nettest_dns.c
===================================================================
--- trunk/suites/dns/nettest_dns.c 2006-06-28 21:49:01 UTC (rev 186)
+++ trunk/suites/dns/nettest_dns.c 2006-06-28 22:36:06 UTC (rev 187)
@@ -693,7 +693,7 @@
/* read the next line from the query_source stream, and build the
query to send. */
static int
-get_next_dns_request(test_t *test, char *request_buffer, int buflen) {
+get_next_dns_request(test_t *test, unsigned char *request_buffer, int buflen) {
dns_data_t *my_data = GET_TEST_DATA(test);
@@ -1341,7 +1341,7 @@
}
/* go through and build the next request to send */
req_size = get_next_dns_request(test,
- (char *)request_buffer,
+ (unsigned char *)request_buffer,
sizeof(request_buffer));
/* set the ID as apropriate since it is a uint16_t, we'll not
More information about the netperf-dev
mailing list