Fix shill unittest build problem for gcc 4.7.

gcc 4.7 is more strict about type conversion in initilization list,
for example -

const char apple[] = {0xff, 0xfe};

The above compiles ok prior to gcc 4.7, but fails on gcc 4.7 with
-Wall -Werror. The reason is that 0xff is out of bound for (signed)
char type.

TEST=Built/tested using gcc 4.7
BUG=None

Change-Id: I597cac783954b856726494b757d69ddbc6c4436b
Reviewed-on: https://gerrit.chromium.org/gerrit/31908
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Ready: Han Shen <shenhan@chromium.org>
Tested-by: Han Shen <shenhan@chromium.org>
diff --git a/dns_client_unittest.cc b/dns_client_unittest.cc
index 713487b..148f55e 100644
--- a/dns_client_unittest.cc
+++ b/dns_client_unittest.cc
@@ -44,7 +44,7 @@
 const char kGoodServer[] = "8.8.8.8";
 const char kBadServer[] = "10.9xx8.7";
 const char kNetworkInterface[] = "eth0";
-char kReturnAddressList0[] = { 224, 0, 0, 1 };
+char kReturnAddressList0[] = { static_cast<char>(224), 0, 0, 1 };
 char *kReturnAddressList[] = { kReturnAddressList0, NULL };
 char kFakeAresChannelData = 0;
 const ares_channel kAresChannel =