use off_t/int64_t consistently (match prototype)

This commit is contained in:
pvalchev 2006-09-22 02:23:13 +00:00
parent 03801ae81b
commit 15ac742fe5
3 changed files with 26 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.36 2006/08/01 10:50:19 espie Exp $
# $OpenBSD: Makefile,v 1.37 2006/09/22 02:23:13 pvalchev Exp $
SHARED_ONLY= Yes
COMMENT= "videolan client; multimedia player"
V= 0.8.4a
DISTNAME= vlc-${V}
PKGNAME= ${DISTNAME}p6
PKGNAME= ${DISTNAME}p7
CATEGORIES= x11
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${V}/

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-modules_access_ftp_c,v 1.1 2006/09/22 02:23:13 pvalchev Exp $
--- modules/access/ftp.c.orig Thu Sep 21 19:06:22 2006
+++ modules/access/ftp.c Thu Sep 21 19:06:43 2006
@@ -540,7 +540,7 @@ static int ftp_ReadCommand( access_t *p_
return( i_answer / 100 );
}
-static int ftp_StartStream( access_t *p_access, off_t i_start )
+static int ftp_StartStream( access_t *p_access, int64_t i_start )
{
access_sys_t *p_sys = p_access->p_sys;

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-modules_access_mms_mmsh_c,v 1.1 2006/09/22 02:23:13 pvalchev Exp $
--- modules/access/mms/mmsh.c.orig Thu Sep 21 19:13:09 2006
+++ modules/access/mms/mmsh.c Thu Sep 21 19:15:03 2006
@@ -565,7 +565,7 @@ error:
/*****************************************************************************
*
*****************************************************************************/
-static int Start( access_t *p_access, off_t i_pos )
+static int Start( access_t *p_access, int64_t i_pos )
{
access_sys_t *p_sys = p_access->p_sys;
int i_streams = 0;