Modify

Ticket #9230 (new Bugs)

Opened 7 months ago

MSVC: new compiler warnings since v1.54.0

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

Description

There are two new level 3 compiler warnings in context::use_certificate and context::make_buffer_bio:

boost\boost/asio/ssl/impl/context.ipp(432): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data

boost\boost/asio/ssl/impl/context.ipp(932): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data

Patch against 1.55.0 beta attached.

Attachments

context.ipp.patch Download (600 bytes) - added by raad@… 7 months ago.
Patch to remove the warnings with static_casts from size_t to int

Change History

Changed 7 months ago by raad@…

Patch to remove the warnings with static_casts from size_t to int

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.