Mercurial > mplayer.hg
changeset 30941:fb3bde3ec3a8
Change type to uint8_t to avoid checks depending on char signedness.
author | reimar |
---|---|
date | Fri, 02 Apr 2010 07:14:21 +0000 |
parents | 1bd408cc4143 |
children | 2c04ca7b638c |
files | stream/http.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/http.c Thu Apr 01 17:37:51 2010 +0000 +++ b/stream/http.c Fri Apr 02 07:14:21 2010 +0000 @@ -125,7 +125,7 @@ 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;