Opened 11 years ago

Last modified 11 years ago

#6322 new Patches

Improper string formatting in example

Reported by: filmorependrgn@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.48.0 Severity: Cosmetic
Keywords: Cc:

Description

doc/html/boost_asio/example/chat/chat_message.hpp has an improper string formatting that can cause compiler noisiness.

Change History (2)

comment:1 by anonymous, 11 years ago

I can't figure out if this is fixed in the latest source, but the change is

84c84
<     sprintf(header, "%4d", body_length_);
---
>     sprintf(header, "%4zd", body_length_);

comment:2 by anonymous, 11 years ago

Component: Documentationasio
Owner: changed from Matias Capeletto to chris_kohlhoff
Note: See TracTickets for help on using tickets.