diff Plugins/Input/wma/libffwma/utils.c @ 701:d539e5c5f730 trunk

[svn] Fixes of the remaining GCC 4.1 warnings from external contributor Diego "Flameeyes" Petteno (Gentoo).
author chainsaw
date Sun, 26 Feb 2006 13:08:35 -0800
parents b13e87374f73
children 1ddaf20ab50e
line wrap: on
line diff
--- a/Plugins/Input/wma/libffwma/utils.c	Sun Feb 26 10:21:49 2006 -0800
+++ b/Plugins/Input/wma/libffwma/utils.c	Sun Feb 26 13:08:35 2006 -0800
@@ -42,7 +42,7 @@
  */
 void *av_fast_realloc(void *ptr, int *size, unsigned int min_size)
 {
-	if(min_size < *size) 
+	if(min_size < (unsigned int)*size) 
         	return ptr;
     
     	*size= min_size + 10*1024;
@@ -304,7 +304,7 @@
     AVCodec *p;
     p = first_avcodec;
     while (p) {
-        if (p->encode != NULL && p->id == id)
+        if (p->encode != NULL && (enum CodecID)p->id == id)
             return p;
         p = p->next;
     }
@@ -328,7 +328,7 @@
     AVCodec *p;
     p = first_avcodec;
     while (p) {
-        if (p->decode != NULL && p->id == id)
+        if (p->decode != NULL && (enum CodecID)p->id == id)
             return p;
         p = p->next;
     }
@@ -352,7 +352,7 @@
     AVCodec *p;
     p = first_avcodec;
     while (p) {
-        if (p->id == id)
+        if ((enum CodecID)p->id == id)
             return p;
         p = p->next;
     }