]> git.sesse.net Git - vlc/commitdiff
* httpd: fixed a integer overflow.
authorLaurent Aimar <fenrir@videolan.org>
Thu, 5 Feb 2004 19:51:46 +0000 (19:51 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 5 Feb 2004 19:51:46 +0000 (19:51 +0000)
modules/misc/httpd.c

index 31de72170a5bfc3da0e58947440d1d703a70663d..90eef947240d4974cc1a058fa41f23187b84d71a 100644 (file)
@@ -2,7 +2,7 @@
  * httpd.c
  *****************************************************************************
  * Copyright (C) 2001-2003 VideoLAN
- * $Id: httpd.c,v 1.30 2003/12/21 23:32:58 sam Exp $
+ * $Id: httpd.c,v 1.31 2004/02/05 19:51:46 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
@@ -173,7 +173,7 @@ struct httpd_file_t
     int         i_buffer_size;      /* buffer size, can't be reallocated smaller */
     uint8_t     *p_buffer;          /* buffer */
     int64_t     i_buffer_pos;       /* absolute position from begining */
-    int         i_buffer_last_pos;  /* a new connection will start with that */
+    int64_t     i_buffer_last_pos;  /* a new connection will start with that */
 
     /* data to be send at connection time (if any) */
     int         i_header_size;