changeset 49:1a9c62b337e4 libavutil

kill warnings
author mru
date Sun, 02 Jul 2006 19:26:22 +0000
parents e80a1c46386a
children 65245022a46c
files md5.c md5.h
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/md5.c	Sun Jul 02 19:01:52 2006 +0000
+++ b/md5.c	Sun Jul 02 19:26:22 2006 +0000
@@ -62,15 +62,15 @@
         a += T[i];\
 \
         switch(i>>4){\
-        case 0: a += (d ^ b&(c^d)) + X[      i &15 ]; break;\
-        case 1: a += (c ^ d&(c^b)) + X[ (1+5*i)&15 ]; break;\
-        case 2: a += (b^c^d)       + X[ (5+3*i)&15 ]; break;\
-        case 3: a += (c^(b|~d))    + X[ (  7*i)&15 ]; break;\
+        case 0: a += (d ^ (b&(c^d))) + X[      i &15 ]; break;\
+        case 1: a += (c ^ (d&(c^b))) + X[ (1+5*i)&15 ]; break;\
+        case 2: a += (b^c^d)         + X[ (5+3*i)&15 ]; break;\
+        case 3: a += (c^(b|~d))      + X[ (  7*i)&15 ]; break;\
         }\
         a = b + (( a << t ) | ( a >> (32 - t) ));
 
 static void body(uint32_t ABCD[4], const uint32_t X[16]){
-    int i, t;
+    int t;
     unsigned int a= ABCD[3];
     unsigned int b= ABCD[2];
     unsigned int c= ABCD[1];
--- a/md5.h	Sun Jul 02 19:01:52 2006 +0000
+++ b/md5.h	Sun Jul 02 19:26:22 2006 +0000
@@ -1,7 +1,7 @@
 #ifndef MD5_H
 #define MD5_H
 
-extern const av_md5_size;
+extern const int av_md5_size;
 
 struct AVMD5;