summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2008-01-22 20:02:02 +0000
committerSimon Howard2008-01-22 20:02:02 +0000
commitc3c3f52a577e33599de314496f27c8dc4bcb07e3 (patch)
tree3c5e6fee092846b5193ef2607ab5acf8d0b8b584
parentfc70cdbb2a66b28a5ee3a25859322480972af2ad (diff)
downloadchocolate-doom-c3c3f52a577e33599de314496f27c8dc4bcb07e3.tar.gz
chocolate-doom-c3c3f52a577e33599de314496f27c8dc4bcb07e3.tar.bz2
chocolate-doom-c3c3f52a577e33599de314496f27c8dc4bcb07e3.zip
Use MEM_SEEK_SET for memio, not SEEK_SET.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1012
-rw-r--r--src/mus2mid.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mus2mid.c b/src/mus2mid.c
index 45468f73..66051bae 100644
--- a/src/mus2mid.c
+++ b/src/mus2mid.c
@@ -421,7 +421,8 @@ boolean mus2mid(MEMFILE *musinput, MEMFILE *midioutput)
#endif
// Seek to where the data is held
- if (mem_fseek(musinput, (long)musfileheader.scorestart, SEEK_SET) != 0)
+ if (mem_fseek(musinput, (long)musfileheader.scorestart,
+ MEM_SEEK_SET) != 0)
{
return true;
}
@@ -604,7 +605,7 @@ boolean mus2mid(MEMFILE *musinput, MEMFILE *midioutput)
}
// Write the track size into the stream
- if (mem_fseek(midioutput, 18, SEEK_SET))
+ if (mem_fseek(midioutput, 18, MEM_SEEK_SET))
{
return true;
}