1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/audio/liblo/files/patch-src_message.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

14 lines
517 B
C

--- src/message.c.orig 2014-01-20 11:49:42 UTC
+++ src/message.c
@@ -996,8 +996,8 @@ void lo_message_pp(lo_message m)
putchar('\n');
if (d != end) {
fprintf(stderr,
- "liblo warning: type and data do not match (off by %d) in message %p\n",
- abs((char *) d - (char *) end), m);
+ "liblo warning: type and data do not match (off by %td) in message %p\n",
+ d >= end ? (char *) d - (char *) end : (char *) end - (char *) d, m);
}
}