summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/ngboard/files/void-ptr-64bit.patch')
-rw-r--r--games-board/ngboard/files/void-ptr-64bit.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/games-board/ngboard/files/void-ptr-64bit.patch b/games-board/ngboard/files/void-ptr-64bit.patch
new file mode 100644
index 0000000..2bf5011
--- /dev/null
+++ b/games-board/ngboard/files/void-ptr-64bit.patch
@@ -0,0 +1,14 @@
+void* is 64 bit on amd64
+diff --git a/src/consoleframe.cc b/src/consoleframe.cc
+index 07ad6cd..86b2ef7 100644
+--- a/src/consoleframe.cc
++++ b/src/consoleframe.cc
+@@ -669,7 +669,7 @@ void ConsoleFrame::on_textview_event_after(GdkEvent *event)
+ TagVector tags = cursor_it.get_tags();
+ for (TagVector::iterator it = tags.begin();
+ it != tags.end(); ++it) {
+- int i = reinterpret_cast<int>((*it)->get_data("linkto"));
++ long int i = reinterpret_cast<long int>((*it)->get_data("linkto"));
+ if (i == 0) continue;
+
+ //get word start, end