summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-13 17:32:42 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-13 17:32:42 +0100
commitbc5f6a15e9a7433396edc86e6ce68cb42b6f470b (patch)
tree867e5810d336d608e6703e609659c0d3a1a07f16
parent9b8431a0032a528b230afa218f5debb4450c387e (diff)
downloadxine-lib-bc5f6a15e9a7433396edc86e6ce68cb42b6f470b.tar.gz
xine-lib-bc5f6a15e9a7433396edc86e6ce68cb42b6f470b.tar.bz2
Don't cast pointers, remove warning.
-rw-r--r--src/demuxers/demux_matroska.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demuxers/demux_matroska.c b/src/demuxers/demux_matroska.c
index 80249605b..7deceb500 100644
--- a/src/demuxers/demux_matroska.c
+++ b/src/demuxers/demux_matroska.c
@@ -1660,10 +1660,10 @@ static int parse_cue_point(demux_matroska_t *this) {
this->num_indexes++;
}
if ((index->num_entries % 1024) == 0) {
- index->pos = (off_t *)realloc(index->pos, sizeof(off_t) *
- (index->num_entries + 1024));
- index->timecode = (off_t *)realloc(index->timecode, sizeof(uint64_t) *
- (index->num_entries + 1024));
+ index->pos = realloc(index->pos, sizeof(off_t) *
+ (index->num_entries + 1024));
+ index->timecode = realloc(index->timecode, sizeof(uint64_t) *
+ (index->num_entries + 1024));
}
index->pos[index->num_entries] = pos;
index->timecode[index->num_entries] = timecode;