summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-window.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-10-08 10:20:05 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-10-08 10:20:05 +0000
commit232e5a27f06b373f887bb7df0a8829894d6a738a (patch)
tree9b0a83a894483d3922b952dc4cf2c00a38f50c83 /src/gui/curses/gui-curses-window.c
parentebf5b78fce927bca38b1ed6fa800656ae5a27da5 (diff)
downloadweechat-232e5a27f06b373f887bb7df0a8829894d6a738a.zip
Fixed compilation warnings for AMD64
Diffstat (limited to 'src/gui/curses/gui-curses-window.c')
-rw-r--r--src/gui/curses/gui-curses-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index e5d3c003a..275db8086 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -1227,8 +1227,8 @@ gui_window_set_title ()
if (strcmp( envterm, "sun-cmd") == 0)
printf ("\033]l%s %s\033\\", PACKAGE_NAME, PACKAGE_VERSION);
else if (strcmp(envterm, "hpterm") == 0)
- printf ("\033&f0k%dD%s %s", strlen(PACKAGE_NAME) +
- strlen(PACKAGE_VERSION) + 1,
+ printf ("\033&f0k%dD%s %s",
+ (int)(strlen(PACKAGE_NAME) + strlen(PACKAGE_VERSION) + 1),
PACKAGE_NAME, PACKAGE_VERSION);
/* the following term supports the xterm excapes */
else if (strncmp (envterm, "xterm", 5) == 0