[xiph-cvs] cvs commit: icecast/src md5.c

Michael Smith msmith at xiph.org
Sun Feb 29 18:28:49 PST 2004



msmith      04/02/29 21:28:49

  Modified:    src      md5.c
  Log:
  Fix macro to use ; instead of ,
  This gets rid of some warnings in later gcc versions.

Revision  Changes    Path
1.3       +1 -1      icecast/src/md5.c

Index: md5.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/md5.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- md5.c	29 Jan 2004 01:02:06 -0000	1.2
+++ md5.c	1 Mar 2004 02:28:48 -0000	1.3
@@ -185,7 +185,7 @@
 # define F4(x, y, z) (y ^ (x | ~z))
 
 /* This is the central step in the MD5 algorithm. */
-# define MD5STEP(f, w, x, y, z, data, s) ( w += f(x, y, z) + data,  w = (w<<s) | (w>>(32-s)),  w += x )
+# define MD5STEP(f, w, x, y, z, data, s) ( w += f(x, y, z) + data;  w = (w<<s) | (w>>(32-s));  w += x )
 
 /*
  * The core of the MD5 algorithm, this alters an existing MD5 hash to

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list