static const char prefix[]= "Puzzle Pirates - ";
static const char onthe[]= " on the ";
static const char suffix[]= " ocean";
-#define S(x) (sizeof((x))-1)
+#define S(x) ((int)sizeof((x))-1)
debugfind("FINDYPP %d/%d screen %d %*s %lx",
depth,targetdepth,screen,
REQUIRE( !memcmp(spc1, onthe, S(onthe)) );
#define ASSIGN(what, start, end) \
- what= masprintf("%.*s", (end)-(start), start); \
+ what= masprintf("%.*s", (int)((end)-(start)), start); \
if (o_##what) REQUIRE( !strcasecmp(o_##what, what) ); \
else