Merge pull request #85 from dgl/werror

Make configure checks able to build with -Werror
This commit is contained in:
Alexander Færøy 2014-07-06 23:05:34 +02:00
commit b03b65e029
9 changed files with 31 additions and 17 deletions

View file

@ -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: