blob: 2bf5011d08cc2c98d73a46d207cfff74b81f3643 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
|