1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00

Fixed warning on AMD64

This commit is contained in:
Sebastien Helleu
2006-10-09 17:00:35 +00:00
parent 9753571988
commit b49ed70af4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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