music_mod.c
changeset 427 47cf8b3f2fb0
parent 420 2594a266fc8b
child 470 5cebd6c5be2d
     1.1 --- a/music_mod.c	Sun Oct 04 22:21:17 2009 +0000
     1.2 +++ b/music_mod.c	Mon Oct 05 07:15:36 2009 +0000
     1.3 @@ -159,8 +159,8 @@
     1.4  typedef struct
     1.5  {
     1.6  	MREADER mr;
     1.7 -	int offset;
     1.8 -	int eof;
     1.9 +	long offset;
    1.10 +	long eof;
    1.11  	SDL_RWops *rw;
    1.12  } LMM_MREADER;
    1.13  
    1.14 @@ -193,7 +193,7 @@
    1.15  }
    1.16  BOOL LMM_Eof(struct MREADER *mr)
    1.17  {
    1.18 -	int offset;
    1.19 +	long offset;
    1.20  	LMM_MREADER* lmmmr = (LMM_MREADER*)mr;
    1.21  	offset = LMM_Tell(mr);
    1.22  	return offset >= lmmmr->eof;