Hello list! It looks like recent updates in translate.cpp are not 64bit compliant (I have attached compilations erros in comp.errs).
The iconv function wants nInSize and nOutSize to be size_t, but they are declared as unsigned int (4 bytes): on amd64 size_t is a long unsigned int (8 bytes). I made it compile by changing the declaration of these variables to size_t (patch attached) Regards, -- Voyageur
--- Download/CVS/licq/src/translate.cpp 2005-05-20 22:59:10.000000000 +0200 +++ ./translate.cpp 2005-05-23 14:56:33.000000000 +0200 @@ -243,7 +243,7 @@ if (_sz == NULL) return NULL; unsigned short nLen = strlen(_sz) * 2; char *szNewStr = new char[nLen + 1]; - unsigned int nInSize, nOutSize; + size_t nInSize, nOutSize; char *szIn = _sz, *szOut = szNewStr; iconv_t tr; @@ -273,7 +273,7 @@ if (_sz == NULL) return NULL; unsigned short nLen = nMsgLen > 0 ? nMsgLen : strlen(_sz); char *szNewStr = new char[nLen * 2]; - unsigned int nInSize, nOutSize; + size_t nInSize, nOutSize; char *szIn = _sz, *szOut = szNewStr; iconv_t tr; @@ -301,7 +301,7 @@ if (_sz == NULL) return NULL; unsigned short nLen = strlen(_sz) * 3; char *szNewStr = new char[nLen + 1]; - unsigned int nInSize, nOutSize; + size_t nInSize, nOutSize; char *szOut = _sz, *szIn = szNewStr; iconv_t tr;
comp.errs
Description: Binary data
pgp1ksG15yj8U.pgp
Description: PGP signature