diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-04-02 07:14:21 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-04-02 07:14:21 +0000 |
commit | fd6ce85192140e64a0ea7306f36071b7eb5f9399 (patch) | |
tree | 0863bf4eeff989f21ebf47d329ae404c98bfc9fa /stream | |
parent | a300074bd2cb7c40bf57111aa46ded0ccfc6f286 (diff) | |
download | mpv-fd6ce85192140e64a0ea7306f36071b7eb5f9399.tar.bz2 mpv-fd6ce85192140e64a0ea7306f36071b7eb5f9399.tar.xz |
Change type to uint8_t to avoid checks depending on char signedness.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30983 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/http.c b/stream/http.c index d6f5086fda..3a81f0accf 100644 --- a/stream/http.c +++ b/stream/http.c @@ -125,7 +125,7 @@ static void scast_meta_read(int fd, streaming_ctrl_t *sc) { 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; |