void format_SaNameT( const char* const name, SaNameT* formatted )
{
if( ! name || ! formatted ) return;
memset( formatted, 0, sizeof( SaNameT ) );
formatted->length = strlen( name );
strncpy( formatted->value, name, SA_MAX_NAME_LENGTH );
}
here 'format_SaNameT' is showing the warning