Re: conflicting function definitions in dvd_reader.c|h
H}kan Hjort <[email protected]> Mon, 28 Apr 2003 19:57:37 +0200
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <[email protected]> |
Mon Apr 28 2003, Diego Biurrun wrote: > Hi! > > I am the MPlayer documentation maintainer and I think I found a bug in > libdvdread/dvd_reader.c|h that causes an MPlayer compilation failure on the > latest Cygwin snapshots. There are incompatible defintions of the > DVDFileSeek function in the .h and the .c file. > > dvd_reader.h: > int DVDFileSeek( dvd_file_t *, int ); > > dvd_reader.c: > int32_t DVDFileSeek( dvd_file_t *dvd_file, int32_t offset); > > int and int32_t are not the same on Cygwin in the latest snapshot, resulting > in the following error: > Auch, not good, and a really old bug too, it's been there since 2001/08/22. I changed the .c file to use int too. Commited to CVS. -- HÃ¥kan Hjort