diff --git a/asio/src/examples/tutorial/daytime4/client.cpp b/asio/src/examples/tutorial/daytime4/client.cpp index 9fbff9e7..5cb60ad5 100644 --- a/asio/src/examples/tutorial/daytime4/client.cpp +++ b/asio/src/examples/tutorial/daytime4/client.cpp @@ -33,7 +33,7 @@ int main(int argc, char* argv[]) udp::socket socket(io_service); socket.open(udp::v4()); - boost::array send_buf = { 0 }; + boost::array send_buf = {{ 0 }}; socket.send_to(asio::buffer(send_buf), receiver_endpoint); boost::array recv_buf;