1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Fix Build on -CURRENT.

Approved by:	maintainer
This commit is contained in:
Tilman Keskinoz 2002-11-23 13:18:17 +00:00
parent 7442d7ab64
commit 9be42cf662
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70844
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,19 @@
--- sim/libicq/service.cpp.orig Thu Nov 21 21:52:08 2002
+++ sim/libicq/service.cpp Thu Nov 21 21:53:46 2002
@@ -301,14 +301,14 @@
time(&now);
Buffer b;
b << (char)3;
- b.pack(now);
+ b.pack((unsigned long)now);
b.pack((unsigned short)0);
b.pack((unsigned short)1);
b.pack((unsigned short)1);
b.pack((char*)SHARED_FILES_SIGN, 16);
b << (char)4 << (unsigned short)1;
b.pack((unsigned long)(bState ? 1 : 0));
- b.pack(now);
+ b.pack((unsigned long)now);
b.pack((unsigned long)0);
b.pack((unsigned short)1);
sendUpdate(b);

View File

@ -0,0 +1,19 @@
--- sim/libicq/service.cpp.orig Thu Nov 21 21:52:08 2002
+++ sim/libicq/service.cpp Thu Nov 21 21:53:46 2002
@@ -301,14 +301,14 @@
time(&now);
Buffer b;
b << (char)3;
- b.pack(now);
+ b.pack((unsigned long)now);
b.pack((unsigned short)0);
b.pack((unsigned short)1);
b.pack((unsigned short)1);
b.pack((char*)SHARED_FILES_SIGN, 16);
b << (char)4 << (unsigned short)1;
b.pack((unsigned long)(bState ? 1 : 0));
- b.pack(now);
+ b.pack((unsigned long)now);
b.pack((unsigned long)0);
b.pack((unsigned short)1);
sendUpdate(b);

View File

@ -0,0 +1,19 @@
--- sim/libicq/service.cpp.orig Thu Nov 21 21:52:08 2002
+++ sim/libicq/service.cpp Thu Nov 21 21:53:46 2002
@@ -301,14 +301,14 @@
time(&now);
Buffer b;
b << (char)3;
- b.pack(now);
+ b.pack((unsigned long)now);
b.pack((unsigned short)0);
b.pack((unsigned short)1);
b.pack((unsigned short)1);
b.pack((char*)SHARED_FILES_SIGN, 16);
b << (char)4 << (unsigned short)1;
b.pack((unsigned long)(bState ? 1 : 0));
- b.pack(now);
+ b.pack((unsigned long)now);
b.pack((unsigned long)0);
b.pack((unsigned short)1);
sendUpdate(b);