m17n-lib/m17n-lib-c99.patch

16 lines
523 B
Diff

Submitted upstream: <https://savannah.nongnu.org/bugs/index.php?64106>
diff --git a/example/medit.c b/example/medit.c
index e6a6dc8c108fe44f..f2b109db3e0e2b81 100644
--- a/example/medit.c
+++ b/example/medit.c
@@ -662,7 +662,7 @@ static void MenuHelpProc (Widget, XEvent *, String *, Cardinal *);
off the current input method, otherwide turn on the input method
input_method_table[$IDX]. */
void
-select_input_method (idx)
+select_input_method (int idx)
{
int previous_input_method = current_input_method;