mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Merge pull request #85 from dgl/werror
Make configure checks able to build with -Werror
This commit is contained in:
commit
b03b65e029
9 changed files with 31 additions and 17 deletions
|
|
@ -140,7 +140,7 @@ int term_init(void)
|
|||
|
||||
term_set_input_type(TERM_TYPE_8BIT);
|
||||
term_common_init();
|
||||
g_atexit(term_deinit);
|
||||
atexit(term_deinit);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
@ -575,7 +575,7 @@ void term_stop(void)
|
|||
|
||||
static int input_utf8(const unsigned char *buffer, int size, unichar *result)
|
||||
{
|
||||
unichar c = g_utf8_get_char_validated(buffer, size);
|
||||
unichar c = g_utf8_get_char_validated((char *)buffer, size);
|
||||
|
||||
switch (c) {
|
||||
case (unichar)-1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue