1
0
forked from metin2/server

Switched to CLang in order to make cryptopp compile (issues with FPU on GCC)

This commit is contained in:
2024-11-18 06:12:29 +00:00
parent 7b39087fa7
commit 41f0df9572
3 changed files with 9 additions and 5 deletions

View File

@ -32,7 +32,7 @@ class CStmt
std::vector<MYSQL_BIND> m_vec_param;
unsigned int m_uiParamCount;
uint64_t * m_puiParamLen;
unsigned long * m_puiParamLen;
std::vector<MYSQL_BIND> m_vec_result;
unsigned int m_uiResultCount;

View File

@ -59,7 +59,7 @@ bool CStmt::Prepare(CAsyncSQL * sql, const char * c_pszQuery)
m_vec_param.resize(iParamCount);
memset(&m_vec_param[0], 0, sizeof(MYSQL_BIND) * iParamCount);
m_puiParamLen = (uint64_t *) calloc(iParamCount, sizeof(uint64_t));
m_puiParamLen = (unsigned long *) calloc(iParamCount, sizeof(unsigned long));
}
m_vec_result.resize(48);