mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 02:35:38 +01:00
Amalgamate the different architecture problems with printf...
This commit is contained in:
parent
8c666bcd3f
commit
42e4e8d4aa
@ -105,9 +105,9 @@ void BlockStat::ToString(CHAR *buf, int bufSz) const {
|
||||
|
||||
case BlockStat::eType_Int:
|
||||
#ifdef _MSC_VER
|
||||
_sntprintf_s(buf, bufSz, _TRUNCATE, "%s,%lu", m_StatName, m_IntStat);
|
||||
_sntprintf_s(buf, bufSz, _TRUNCATE, "%s,%lu", m_StatName, (unsigned long)m_IntStat);
|
||||
#else
|
||||
snprintf(buf, bufSz, "%s,%lu", m_StatName, m_IntStat);
|
||||
snprintf(buf, bufSz, "%s,%lu", m_StatName, (unsigned long)m_IntStat);
|
||||
#endif
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user