summaryrefslogtreecommitdiffstats
path: root/libraries/pjproject-ring/patches/intptr_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/pjproject-ring/patches/intptr_t.patch')
-rw-r--r--libraries/pjproject-ring/patches/intptr_t.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libraries/pjproject-ring/patches/intptr_t.patch b/libraries/pjproject-ring/patches/intptr_t.patch
new file mode 100644
index 0000000000..8994a991c0
--- /dev/null
+++ b/libraries/pjproject-ring/patches/intptr_t.patch
@@ -0,0 +1,11 @@
+--- pjproject/pjsip/src/pjsua2/endpoint.cpp.orig 2014-09-05 16:39:29.708512865 -0400
++++ pjproject/pjsip/src/pjsua2/endpoint.cpp 2014-09-05 16:39:00.084513427 -0400
+@@ -489,7 +489,7 @@
+ LogEntry entry;
+ entry.level = level;
+ entry.msg = string(data, len);
+- entry.threadId = (long)pj_thread_this();
++ entry.threadId = (intptr_t)pj_thread_this();
+ entry.threadName = string(pj_thread_get_name(pj_thread_this()));
+
+ ep.utilLogWrite(entry);