#undef LOCAL_DEBUG
#include "sherlock/sherlock.h"
+#include "sherlock/math.h"
#include "lib/fastbuf.h"
#include "lib/conf.h"
-#include "lib/math.h"
#include "images/images.h"
#include "images/math.h"
#include "images/error.h"
}
for (; x < 4; x++)
{
- *tp = tp[-square_cols];
+ *tp = tp[-(int)square_cols];
tp++;
}
}
for (; y < 4; y++)
for (x = 0; x < 4; x++)
{
- *tp = tp[-square_rows * 4];
+ *tp = tp[-(int)square_rows * 4];
tp++;
}
block->area = square_cols * square_rows;