Silence some conversion warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@842 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -228,7 +228,7 @@ template <> struct binary< std::string > {
|
||||
if (_v.size() < std::numeric_limits<length_t>::max() )
|
||||
#endif
|
||||
{
|
||||
length_t len = _v.size();
|
||||
length_t len = length_t(_v.size());
|
||||
|
||||
if (_swap) reverse_byte_order(len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user