suppress some compiler warnings due to recent format changes to use off_t
authorRussell Bryant <russell@russellbryant.com>
Tue, 21 Feb 2006 19:20:30 +0000 (19:20 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 21 Feb 2006 19:20:30 +0000 (19:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10656 65c4cc65-6c06-0410-ace0-fbb531ad65f3

formats/format_h264.c

index e214d7e..185b268 100644 (file)
@@ -221,7 +221,7 @@ static char *h264_getcomment(struct ast_filestream *s)
        return NULL;
 }
 
-static int h264_seek(struct ast_filestream *fs, long sample_offset, int whence)
+static int h264_seek(struct ast_filestream *fs, off_t sample_offset, int whence)
 {
        /* No way Jose */
        return -1;
@@ -235,7 +235,7 @@ static int h264_trunc(struct ast_filestream *fs)
        return 0;
 }
 
-static long h264_tell(struct ast_filestream *fs)
+static off_t h264_tell(struct ast_filestream *fs)
 {
        /* XXX This is totally bogus XXX */
        off_t offset;