summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses/gui-curses-window.c')
-rw-r--r--src/gui/curses/gui-curses-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index 275db8086..ac2d2d7c9 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -1262,7 +1262,7 @@ gui_window_reset_title ()
if (strcmp( envterm, "sun-cmd") == 0)
printf ("\033]l%s\033\\", "Terminal");
else if (strcmp( envterm, "hpterm") == 0)
- printf ("\033&f0k%dD%s", strlen("Terminal"), "Terminal");
+ printf ("\033&f0k%dD%s", (int)strlen("Terminal"), "Terminal");
/* the following term supports the xterm excapes */
else if (strncmp (envterm, "xterm", 5) == 0
|| strncmp (envterm, "rxvt", 4) == 0