mldonkey-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-commits] mldonkey distrib/ChangeLog src/daemon/common/co...


From: mldonkey-commits
Subject: [Mldonkey-commits] mldonkey distrib/ChangeLog src/daemon/common/co...
Date: Tue, 13 Dec 2005 12:43:47 +0000

CVSROOT:        /sources/mldonkey
Module name:    mldonkey
Branch:         
Changes by:     spiralvoice <address@hidden>    05/12/13 12:43:47

Modified files:
        distrib        : ChangeLog 
        src/daemon/common: commonHasher_c.c 
        src/utils/lib  : sha1_c.c 

Log message:
        patch #4696

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/mldonkey/mldonkey/distrib/ChangeLog.diff?tr1=1.608&tr2=1.609&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/mldonkey/mldonkey/src/daemon/common/commonHasher_c.c.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/mldonkey/mldonkey/src/utils/lib/sha1_c.c.diff?tr1=1.8&tr2=1.9&r1=text&r2=text

Patches:
Index: mldonkey/distrib/ChangeLog
diff -u mldonkey/distrib/ChangeLog:1.608 mldonkey/distrib/ChangeLog:1.609
--- mldonkey/distrib/ChangeLog:1.608    Sat Dec 10 19:44:28 2005
+++ mldonkey/distrib/ChangeLog  Tue Dec 13 12:43:47 2005
@@ -11,6 +11,9 @@
 To compile MLDonkey on MinGW follow this guide:
 http://mldonkey.berlios.de/modules.php?name=Wiki&pagename=Windows
 
+2005/12/13
+4696: Fix some C compiler warnings
+
 2005/12/10
 4687: Compile fix for Ocaml 3.09.0 (gildor), MLDonkey can now be compiled
       with Ocaml 3.08.[2,3,4] and Ocaml 3.09.x (4687_min2.patch)
Index: mldonkey/src/daemon/common/commonHasher_c.c
diff -u mldonkey/src/daemon/common/commonHasher_c.c:1.8 
mldonkey/src/daemon/common/commonHasher_c.c:1.9
--- mldonkey/src/daemon/common/commonHasher_c.c:1.8     Sun Aug 28 10:49:49 2005
+++ mldonkey/src/daemon/common/commonHasher_c.c Tue Dec 13 12:43:47 2005
@@ -24,6 +24,7 @@
 #include "caml/mlvalues.h"
 #include "caml/fail.h"
 #include "caml/alloc.h"
+#include "caml/signals.h"
 
 #define METHOD_MD4      Val_int(0)
 #define METHOD_MD5      Val_int(1)
Index: mldonkey/src/utils/lib/sha1_c.c
diff -u mldonkey/src/utils/lib/sha1_c.c:1.8 mldonkey/src/utils/lib/sha1_c.c:1.9
--- mldonkey/src/utils/lib/sha1_c.c:1.8 Sat Dec 10 16:53:40 2005
+++ mldonkey/src/utils/lib/sha1_c.c     Tue Dec 13 12:43:47 2005
@@ -102,7 +102,7 @@
 #endif
 
 #if !defined(bswap_32)
-#define bswap_32(x) (rotr32((x), 24) & 0x00ff00ff | rotr32((x), 8) & 
0xff00ff00)
+#define bswap_32(x) ((rotr32((x), 24) & 0x00ff00ff) | (rotr32((x), 8) & 
0xff00ff00))
 #endif
 
 #if (PLATFORM_BYTE_ORDER == BRG_LITTLE_ENDIAN)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]