[A] Added more warnings to the compilation

This commit is contained in:
seleznevae
2018-11-17 11:53:03 +03:00
parent 29085eb1ff
commit 36377e4094
5 changed files with 16 additions and 8 deletions

View File

@@ -164,7 +164,7 @@ void ft_set_cur_cell(ft_table_t *table, size_t row, size_t col)
table->cur_col = col;
}
FT_PRINTF_ATTRIBUTE_FORMAT(3, 0)
static int ft_row_printf_impl(ft_table_t *table, size_t row, const char *fmt, va_list *va)
{
#define CREATE_ROW_FROM_FMT_STRING create_row_from_fmt_string

View File

@@ -274,7 +274,7 @@ int wsnprint_n_string(wchar_t *buf, size_t length, size_t n, const char *str)
--k;
}
buf[n] = L'\0';
return n;
return (int)n;
}
}
}