View | Details | Raw Unified | Return to bug 195657
Collapse All | Expand All

(-)audio/liblo/files/patch-src-messages.c (+13 lines)
Line 0 Link Here
1
--- src/message.c.orig	2014-01-20 12:49:42.000000000 +0100
2
+++ src/message.c	2014-12-03 23:02:28.000000000 +0100
3
@@ -996,8 +996,8 @@ void lo_message_pp(lo_message m)
4
     putchar('\n');
5
     if (d != end) {
6
         fprintf(stderr,
7
-                "liblo warning: type and data do not match (off by %d) in message %p\n",
8
-                abs((char *) d - (char *) end), m);
9
+                "liblo warning: type and data do not match (off by %td) in message %p\n",
10
+                d >= end ? (char *) d - (char *) end : (char *) end - (char *) d, m);
11
     }
12
 }
13
 

Return to bug 195657