Skip to content

Commit

Permalink
Made this a _little_ bit more 64-bit aware
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 5, 2009
1 parent 7d1b747 commit 75cba29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions music_mod.c
Expand Up @@ -159,8 +159,8 @@ MODULE *MOD_new(const char *file)
typedef struct
{
MREADER mr;
int offset;
int eof;
long offset;
long eof;
SDL_RWops *rw;
} LMM_MREADER;

Expand Down Expand Up @@ -193,7 +193,7 @@ int LMM_Get(struct MREADER *mr)
}
BOOL LMM_Eof(struct MREADER *mr)
{
int offset;
long offset;
LMM_MREADER* lmmmr = (LMM_MREADER*)mr;
offset = LMM_Tell(mr);
return offset >= lmmmr->eof;
Expand Down

0 comments on commit 75cba29

Please sign in to comment.