mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-26 18:42:14 +00:00
Changes to allow interoperability between 64 and 32 processes. Pointer type is a customization of all templated code size_type's and difference_type's.
[SVN r70069]
This commit is contained in:
@@ -52,7 +52,7 @@ struct StringEqual
|
||||
if(string1.size() != string2.size())
|
||||
return false;
|
||||
return std::char_traits<typename Str1::value_type>::compare
|
||||
(string1.c_str(), string2.c_str(), string1.size()) == 0;
|
||||
(string1.c_str(), string2.c_str(), (std::size_t)string1.size()) == 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user