X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/acc7c231cc4a80bd0d2e2e9bad66a4b2bf3e7f49..48d4740c8305b8a59a9fc067916582b4e44b465e:/midend.c diff --git a/midend.c b/midend.c index e0e9cb0..15d11bb 100644 --- a/midend.c +++ b/midend.c @@ -1084,7 +1084,7 @@ void midend_serialise(midend_data *me, #define wr(h,s) do { \ char hbuf[80]; \ char *str = (s); \ - sprintf(hbuf, "%-8.8s:%d:", (h), strlen(str)); \ + sprintf(hbuf, "%-8.8s:%d:", (h), (int)strlen(str)); \ write(wctx, hbuf, strlen(hbuf)); \ write(wctx, str, strlen(str)); \ write(wctx, "\n", 1); \