aboutsummaryrefslogtreecommitdiff
path: root/net-im/sim-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/sim-im')
-rw-r--r--net-im/sim-im/files/patch-service.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-im/sim-im/files/patch-service.cpp b/net-im/sim-im/files/patch-service.cpp
new file mode 100644
index 000000000000..adc965ac2873
--- /dev/null
+++ b/net-im/sim-im/files/patch-service.cpp
@@ -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);