summaryrefslogtreecommitdiff
path: root/audio/liblo/files/patch-src_message.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/liblo/files/patch-src_message.c')
-rw-r--r--audio/liblo/files/patch-src_message.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/liblo/files/patch-src_message.c b/audio/liblo/files/patch-src_message.c
new file mode 100644
index 000000000000..1d72a7025726
--- /dev/null
+++ b/audio/liblo/files/patch-src_message.c
@@ -0,0 +1,13 @@
+--- 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);
+ }
+ }
+