Fix warning in fixed_string.hpp

This commit is contained in:
Michael Vandeberg 2016-09-20 15:06:00 -04:00
parent 3c6d7d9fe3
commit 78b511c11e

View file

@ -27,7 +27,7 @@ namespace fc {
}
}
fixed_string( const char* str ) {
int l = strlen(str);
auto l = strlen(str);
if( l <= sizeof(data) )
memcpy( (char*)&data, str, l );
else {