$OpenBSD: patch-bladeenc_samplein_c,v 1.2 2003/02/12 00:35:21 brad Exp $
--- bladeenc/samplein.c.orig	Tue May  8 08:11:53 2001
+++ bladeenc/samplein.c	Tue Feb 11 19:22:35 2003
@@ -31,6 +31,7 @@
 #include	<stdio.h>
 #include	<stdlib.h>
 #include	<string.h>
+#include        <sys/types.h>
 
 #include	"system.h"
 #include	"samplein.h"
@@ -75,7 +76,7 @@ static	uint			readRAWSamples (SI_Stream 
 static	int				initAIFF (SI_Stream *psInfo);
 static	uint			readAIFFSamples (SI_Stream *psInfo, int nSamples, short *wpSamples);
 
-static	int				myFseek (FILE *fp, int offset);
+static	int				myFseek (FILE *fp, unsigned int offset);
 
 
 
@@ -613,7 +614,7 @@ static	uint			readAIFFSamples (SI_Stream
 
 /* We can't use the real fseek() since you can't seek in a stream (stdin) */
 
-static int					myFseek (FILE *fp, int offset)
+static int					myFseek (FILE *fp, unsigned int offset)
 {
 	char					dummy[256];
 
