forked from boostorg/system
std::basic_string::size() may return a size_type which is wider than an int.
Signed-off-by: Daniela Engert <dani@ngrt.de>
This commit is contained in:
@ -410,7 +410,7 @@ namespace
|
||||
}
|
||||
}
|
||||
|
||||
int num_chars = (buf.size() + 1) * 2;
|
||||
int num_chars = static_cast<int>(buf.size() + 1) * 2;
|
||||
|
||||
boost::winapi::LPSTR_ narrow_buffer =
|
||||
#if defined(__GNUC__)
|
||||
|
Reference in New Issue
Block a user