Update of /cvsroot/boost/boost/libs/asio/test/ip
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7527/ip

Modified Files:
        address_v4.cpp address_v6.cpp 
Log Message:
Fix compiler warnings.


Index: address_v4.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/asio/test/ip/address_v4.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- address_v4.cpp      7 Apr 2007 09:01:23 -0000       1.5
+++ address_v4.cpp      13 May 2007 08:23:08 -0000      1.6
@@ -40,7 +40,7 @@
     // address_v4 constructors.
 
     ip::address_v4 addr1;
-    const ip::address_v4::bytes_type const_bytes_value = { 127, 0, 0, 1 };
+    const ip::address_v4::bytes_type const_bytes_value = { { 127, 0, 0, 1 } };
     ip::address_v4 addr2(const_bytes_value);
     const unsigned long const_ulong_value = 0x7F00001;
     ip::address_v4 addr3(const_ulong_value);

Index: address_v6.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/asio/test/ip/address_v6.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- address_v6.cpp      7 Apr 2007 09:01:23 -0000       1.5
+++ address_v6.cpp      13 May 2007 08:23:08 -0000      1.6
@@ -39,7 +39,7 @@
     // address_v6 constructors.
 
     ip::address_v6 addr1;
-    const ip::address_v6::bytes_type const_bytes_value = { 0 };
+    const ip::address_v6::bytes_type const_bytes_value = { { 0 } };
     ip::address_v6 addr2(const_bytes_value);
 
     // address_v6 functions.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to