Opened 9 years ago

Closed 8 years ago

#9230 closed Bugs (fixed)

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 (1)

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

Download all attachments as: .zip

Change History (2)

by raad@…, 9 years ago

Attachment: context.ipp.patch added

Patch to remove the warnings with static_casts from size_t to int

comment:1 by chris_kohlhoff, 8 years ago

Resolution: fixed
Status: newclosed

Was fixed in r86462. Included in boost 1.55.

Note: See TracTickets for help on using tickets.