projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug in meshload. it would always expect it's loading obj files with quads.
[dosdemo]
/
libs
/
mikmod
/
loaders
/
load_mod.c
diff --git
a/libs/mikmod/loaders/load_mod.c
b/libs/mikmod/loaders/load_mod.c
index
6fffac0
..
55bc04c
100644
(file)
--- a/
libs/mikmod/loaders/load_mod.c
+++ b/
libs/mikmod/loaders/load_mod.c
@@
-348,7
+348,7
@@
static BOOL ML_LoadPatterns(void)
/* Generic module pattern */
for (t = 0; t < of.numpat; t++) {
/* Load the pattern into the temp buffer and convert it */
/* Generic module pattern */
for (t = 0; t < of.numpat; t++) {
/* Load the pattern into the temp buffer and convert it */
- for (s = 0; s < (64U * of.numchn); s++) {
+ for (s = 0; s < (int)(64U * of.numchn); s++) {
patbuf[s].a = _mm_read_UBYTE(modreader);
patbuf[s].b = _mm_read_UBYTE(modreader);
patbuf[s].c = _mm_read_UBYTE(modreader);
patbuf[s].a = _mm_read_UBYTE(modreader);
patbuf[s].b = _mm_read_UBYTE(modreader);
patbuf[s].c = _mm_read_UBYTE(modreader);