X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/4c26ef3e790edce6fda894be1ff64806bbddf1c9..8dc0685213ead3f8896c83cadc130143ccc4d181:/src/sendmail.c diff --git a/src/sendmail.c b/src/sendmail.c index 8c211e7..5a6dd59 100644 --- a/src/sendmail.c +++ b/src/sendmail.c @@ -3,7 +3,7 @@ * * This file is part of x3. * - * srvx is free software; you can redistribute it and/or modify + * x3 is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. @@ -85,7 +85,7 @@ send_flowed_text(FILE *where, const char *para) break; } else if (eol && (eol < para + (80 - shift))) { /* Newline inside paragraph, no need to wrap. */ - fprintf(where, "%.*s\n", eol - para, para); + fprintf(where, "%.*s\n", (int)(eol - para), para); para = eol + 1; } else { int pos;