Fix warning in fixed_string.hpp
This commit is contained in:
parent
3c6d7d9fe3
commit
78b511c11e
1 changed files with 7 additions and 7 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue