-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 30 December 2002 10:25, Magnus Holmberg wrote: > When I try to compile the latest cvs I get: > > > [root@c-581472d5 licq-20021230]# make > make all-recursive > make[1]: Entering directory `/home/pucko/licq-20021230' > Making all in share > make[2]: Entering directory `/home/pucko/licq-20021230/share' > make[2]: Inget beh�ver g�ras f�r "all". > make[2]: Leaving directory `/home/pucko/licq-20021230/share' > Making all in src > make[2]: Entering directory `/home/pucko/licq-20021230/src' > source='licq.cpp' object='licq.o' libtool=no \ > depfile='.deps/licq.Po' tmpdepfile='.deps/licq.TPo' \ > depmode=gcc3 /bin/sh ../admin/depcomp \ > g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include > -DINSTALL_PREFIX=\"/usr/local/\" -fPIC -DPIC -D_REENTRANT -O2 > -fno-exceptions -fno-check-new -c -o licq.o `test -f 'licq.cpp' || echo > './'`licq.cpp > licq.cpp: In member function `int CLicq::Main()': > licq.cpp:693: invalid conversion from `short unsigned int' to `time_t*' > make[2]: *** [licq.o] Fel 1 > make[2]: Leaving directory `/home/pucko/licq-20021230/src' > make[1]: *** [all-recursive] Fel 1 > make[1]: Leaving directory `/home/pucko/licq-20021230' > make: *** [all] Fel 2 > [root@c-581472d5 licq-20021230]#
Hi, please try if the attached patch fixes this issue. I'm not sure if this works, please be aware that this may lead into other problems! Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+EbFI+83LmoKU5MARAml3AJ48jslVe6nskQ1E+KNyJPtRQvr1HACgkWad g/SlWtoxy3M+qIwitbJI2qQ= =rBjy -----END PGP SIGNATURE-----
Index: licq/include/licq_constants.h =================================================================== RCS file: /cvsroot/licq/licq/include/licq_constants.h,v retrieving revision 1.5 diff -u -3 -p -r1.5 licq_constants.h --- licq/include/licq_constants.h 17 Mar 2002 05:47:55 -0000 1.5 +++ licq/include/licq_constants.h 31 Dec 2002 14:59:51 -0000 @@ -30,7 +30,7 @@ const unsigned short MAX_HOSTNAME_LEN const unsigned short MAX_CMD_LEN = 1024; const unsigned short MAX_DATA_LEN = 1024; const unsigned short MAX_MESSAGE_SIZE = 450; -const unsigned short TIME_NOW = 0; +const time_t TIME_NOW = 0; const unsigned short PING_FREQUENCY = 60; const unsigned short DEFAULT_SERVER_PORT = 5190; const unsigned short DEFAULT_SSL_PORT = 443;
