Commit 04721ee0 authored by shans's avatar shans

Spurious variable and missing cast


git-svn-id: http://svn.annodex.net/liboggz/trunk@3175 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 4df668bb
......@@ -107,7 +107,6 @@ oggz_seek_raw (OGGZ * oggz, oggz_off_t offset, int whence)
{
OggzReader * reader = &oggz->x.reader;
oggz_off_t offset_at;
int i;
if (oggz_io_seek (oggz, offset, whence) == -1) {
return -1;
......@@ -119,7 +118,7 @@ oggz_seek_raw (OGGZ * oggz, oggz_off_t offset, int whence)
ogg_sync_reset (&reader->ogg_sync);
oggz_vector_foreach1(oggz->streams, oggz_seek_reset_stream, -1);
oggz_vector_foreach1(oggz->streams, oggz_seek_reset_stream, (void *)-1);
return offset_at;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment