[MPlayer-cvslog] r30983 - trunk/stream/http.c
    reimar 
    subversion at mplayerhq.hu
       
    Fri Apr  2 09:14:22 CEST 2010
    
    
  
Author: reimar
Date: Fri Apr  2 09:14:21 2010
New Revision: 30983
Log:
Change type to uint8_t to avoid checks depending on char signedness.
Modified:
   trunk/stream/http.c
Modified: trunk/stream/http.c
==============================================================================
--- trunk/stream/http.c	Thu Apr  1 19:37:51 2010	(r30982)
+++ trunk/stream/http.c	Fri Apr  2 09:14:21 2010	(r30983)
@@ -125,7 +125,7 @@ static void scast_meta_read(int fd, stre
   metalen = tmp * 16;
   if (metalen > 0) {
     int i;
-    char *info = malloc(metalen + 1);
+    uint8_t *info = malloc(metalen + 1);
     unsigned nlen = my_read(fd, info, metalen, sc);
     // avoid breaking the user's terminal too much
     if (nlen > 256) nlen = 256;
    
    
More information about the MPlayer-cvslog
mailing list