mirror of
https://github.com/boostorg/system.git
synced 2025-07-29 20:17:13 +02:00
Merge pull request #22 from DanielaE/fix/narrowing
std::basic_string::size() may return a size_type which is wider than …
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