summaryrefslogtreecommitdiffstats
path: root/deskutils/gnote/files/patch-src_debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gnote/files/patch-src_debug.cpp')
-rw-r--r--deskutils/gnote/files/patch-src_debug.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/deskutils/gnote/files/patch-src_debug.cpp b/deskutils/gnote/files/patch-src_debug.cpp
new file mode 100644
index 000000000..cb2fe3805
--- /dev/null
+++ b/deskutils/gnote/files/patch-src_debug.cpp
@@ -0,0 +1,11 @@
+--- src/debug.cpp.orig 2009-11-25 14:12:33.000000000 +0100
++++ src/debug.cpp 2009-12-03 17:28:54.000000000 +0100
+@@ -126,7 +126,7 @@
+ // static boost::recursive_mutex mutex;
+ // boost::recursive_mutex::scoped_lock lock(mutex);
+ char buf[128];
+- snprintf(buf, 128, "(%d) ", (int)pthread_self());
++ snprintf(buf, 128, "(%d) ", (pthread_t)pthread_self());
+ fwrite(buf, 1, strlen(buf), stderr);
+ fwrite(prefix, 1, strlen(prefix), stderr);
+