diff options
-rw-r--r-- | net-im/sim-im/files/patch-service.cpp | 19 | ||||
-rw-r--r-- | net-im/simicq/files/patch-service.cpp | 19 | ||||
-rw-r--r-- | net/simicq/files/patch-service.cpp | 19 |
3 files changed, 57 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 0000000..adc965a --- /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); diff --git a/net-im/simicq/files/patch-service.cpp b/net-im/simicq/files/patch-service.cpp new file mode 100644 index 0000000..adc965a --- /dev/null +++ b/net-im/simicq/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); diff --git a/net/simicq/files/patch-service.cpp b/net/simicq/files/patch-service.cpp new file mode 100644 index 0000000..adc965a --- /dev/null +++ b/net/simicq/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); |