mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
f28a05d93d
While I'm here, fix compilation; subtracting 2 pointers on a 64-bit machine gives something the same size as a size_t. Refactor the patches by using 'make makepatch'. PR: 186604 Submitted by: Mikhail - mp39590 gmail com
12 lines
467 B
C
12 lines
467 B
C
--- ./reformat.c.orig 2014-02-10 21:14:43.000000000 +0000
|
|
+++ ./reformat.c 2014-02-10 21:17:35.000000000 +0000
|
|
@@ -335,7 +335,7 @@
|
|
for (end = *line; *end; ++end);
|
|
if (end - *line < affix) {
|
|
sprintf(errmsg,
|
|
- "Line %d shorter than <prefix> + <suffix> = %d + %d = %d\n",
|
|
+ "Line %zd shorter than <prefix> + <suffix> = %d + %d = %d\n",
|
|
line - inlines + 1, prefix, suffix, affix);
|
|
goto rfcleanup;
|
|
}
|