summaryrefslogtreecommitdiffstats
path: root/libmpdemux/http.h
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-29 09:18:53 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-29 09:18:53 +0000
commit4dc9465cb84324df27fa22256f05bff8e0859739 (patch)
treefa5433cab17654e5ccc7d306f6905df21decbd30 /libmpdemux/http.h
parentd60a88e4faddb30d197be3057616f6ba7032b3cc (diff)
downloadmpv-4dc9465cb84324df27fa22256f05bff8e0859739.tar.bz2
mpv-4dc9465cb84324df27fa22256f05bff8e0859739.tar.xz
GCC warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7954 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/http.h')
-rw-r--r--libmpdemux/http.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libmpdemux/http.h b/libmpdemux/http.h
index 84b15901cc..b7332fe057 100644
--- a/libmpdemux/http.h
+++ b/libmpdemux/http.h
@@ -16,21 +16,21 @@ typedef struct {
char *protocol;
char *method;
char *uri;
- int status_code;
+ unsigned int status_code;
char *reason_phrase;
- int http_minor_version;
+ unsigned int http_minor_version;
// Field variables
HTTP_field_t *first_field;
HTTP_field_t *last_field;
- int field_nb;
+ unsigned int field_nb;
char *field_search;
HTTP_field_t *field_search_pos;
// Body variables
char *body;
- int body_size;
+ size_t body_size;
char *buffer;
- int buffer_size;
- int is_parsed;
+ size_t buffer_size;
+ unsigned int is_parsed;
} HTTP_header_t;
HTTP_header_t* http_new_header();