2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-05 23:15:52 +00:00

CMemoryCardSys: Fix GCC nonstring

This commit is contained in:
Luke Street 2020-10-21 01:12:34 -04:00
parent c8ba49bb50
commit 81e7981c76

View File

@ -198,6 +198,9 @@ void CMemoryCardSys::CCardFileInfo::BuildCardBuffer() {
CMemoryOutStream w(x104_cardBuffer.data(), x104_cardBuffer.size());
w.writeUint32Big(0);
#if __GNUC__ && !__clang__
__attribute__((nonstring))
#endif
char comment[64];
strncpy(comment, x28_comment.data(), 64);
w.writeBytes(comment, 64);