Search
lxdream.org :: lxdream :: r999:3d19e3597d9b
lxdream 0.9.1
released Jun 29
Download Now
changeset999:3d19e3597d9b
parent998:1754a8c6a9cf
child1000:6e4cabe2b32b
authornkeynes
dateTue Mar 24 11:35:20 2009 +0000 (11 years ago)
Bug #67: cdi bug x86_64
Fixed as suggested in bug - convert trail.header_offset to (signed) long before negating it.
src/gdrom/cdi.c
1.1 --- a/src/gdrom/cdi.c Tue Mar 24 11:15:57 2009 +0000
1.2 +++ b/src/gdrom/cdi.c Tue Mar 24 11:35:20 2009 +0000
1.3 @@ -99,7 +99,7 @@
1.4 }
1.5
1.6 if( trail.cdi_version == CDI_V35_ID ) {
1.7 - fseek( f, -trail.header_offset, SEEK_END );
1.8 + fseek( f, -(long)trail.header_offset, SEEK_END );
1.9 } else {
1.10 fseek( f, trail.header_offset, SEEK_SET );
1.11 }
.