ref: c3c3f52a577e33599de314496f27c8dc4bcb07e3
parent: fc70cdbb2a66b28a5ee3a25859322480972af2ad
author: Simon Howard <[email protected]>
date: Tue Jan 22 15:02:02 EST 2008
Use MEM_SEEK_SET for memio, not SEEK_SET. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1012
--- a/src/mus2mid.c
+++ b/src/mus2mid.c
@@ -421,7 +421,8 @@
#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 @@
}
// Write the track size into the stream
- if (mem_fseek(midioutput, 18, SEEK_SET))
+ if (mem_fseek(midioutput, 18, MEM_SEEK_SET))
{
return true;
}