Search
lxdream.org :: lxdream/src/gdrom/cdi.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/cdi.c
changeset 999:3d19e3597d9b
prev759:f16975739abc
next1023:264e2fd90be8
author nkeynes
date Wed Jun 03 10:29:16 2009 +0000 (14 years ago)
permissions -rw-r--r--
last change Allow multiple input hooks to be registered for the same key - useful to allow
eg binding the same hotkey for run/stop so that it works as a toggle.
file annotate diff log raw
1.1 --- a/src/gdrom/cdi.c Mon Jul 21 01:01:39 2008 +0000
1.2 +++ b/src/gdrom/cdi.c Wed Jun 03 10:29:16 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 }
.