Skip to content

Commit

Permalink
Merge 030a2c3 into 2cb2e96
Browse files Browse the repository at this point in the history
  • Loading branch information
berryzplus authored Mar 21, 2021
2 parents 2cb2e96 + 030a2c3 commit 6df7ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sakura_core/types/CType_Erlang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ void COutlineErlang::build_arity( int arity )
{
wchar_t numstr[12];
::_snwprintf_s( numstr, _TRUNCATE, L"/%d", arity );
::wcsncat_s( m_func, numstr, _TRUNCATE );
::wcsncat_s( m_func, _countof(m_func), numstr, _TRUNCATE );
}

/** Erlang アウトライン解析
Expand Down

0 comments on commit 6df7ed7

Please sign in to comment.