* slint.c (slang_reset_softkeys): Cast arguments from size_t to
int to avoid a warning on 64-bit systems.
Этот коммит содержится в:
родитель
e606c7bf78
Коммит
8be1c7add5
@ -1,5 +1,8 @@
|
||||
2003-01-24 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* slint.c (slang_reset_softkeys): Cast arguments from size_t to
|
||||
int to avoid a warning on 64-bit systems.
|
||||
|
||||
* subshell.c (resize_tty) [!TIOCSWINSZ]: Warning fix.
|
||||
|
||||
2003-01-23 Pavel Roskin <proski@gnu.org>
|
||||
|
@ -291,7 +291,8 @@ slang_reset_softkeys (void)
|
||||
send = (char *) SLtt_tgetstr (tmp);
|
||||
if (send) {
|
||||
g_snprintf (tmp, sizeof (tmp), "\033&f%dk%dd%dL%s%s", key,
|
||||
sizeof (display) - 1, strlen(send), display, send);
|
||||
(int) (sizeof (display) - 1), (int) strlen (send),
|
||||
display, send);
|
||||
SLtt_write_string (tmp);
|
||||
}
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user