summaryrefslogtreecommitdiff
path: root/japanese/jmode/files/patch-src_skkconv.cpp
blob: 2ed52883ab35a49a8d2f5f1dae6b8feb82d2927e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/skkconv.cpp.orig	2002-06-15 14:35:40 UTC
+++ src/skkconv.cpp
@@ -101,7 +101,7 @@ void SKKConv::init()
     bind_str_to_atom("slash", A_skk_begin_latin_conv);
 }
 
-char **SKKConv::getIcon()
+const char **SKKConv::getIcon()
 {
     return skk_xpm;
 }
@@ -960,7 +960,7 @@ void SKKChildWindow::draw()
 void SKKChildWindow::activate(GtkWidget *w, gpointer p)
 {
     SKKChildContext *c;
-    int pos = (int)p;
+    int pos = (uint64_t)p;
     c = get_current_context();
     if (c) {
 	c->stat.setMode(pos);