forked from metin2/server
Switched to CLang in order to make cryptopp compile (issues with FPU on GCC)
This commit is contained in:
@ -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;
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user