libsmartcols: position of title in fact unsigned
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
63107d1bbc
commit
bfc3d8b48e
|
@ -187,7 +187,7 @@ extern struct libscols_line *scols_copy_line(struct libscols_line *ln);
|
|||
/* table */
|
||||
extern int scols_table_colors_wanted(struct libscols_table *tb);
|
||||
extern int scols_table_set_name(struct libscols_table *tb, const char *name);
|
||||
extern int scols_table_set_title(struct libscols_table *tb, const char *title, int position, const char *color);
|
||||
extern int scols_table_set_title(struct libscols_table *tb, const char *title, unsigned int position, const char *color);
|
||||
extern int scols_table_is_raw(struct libscols_table *tb);
|
||||
extern int scols_table_is_ascii(struct libscols_table *tb);
|
||||
extern int scols_table_is_json(struct libscols_table *tb);
|
||||
|
|
|
@ -133,7 +133,7 @@ int scols_table_set_name(struct libscols_table *tb, const char *name)
|
|||
*
|
||||
* Returns: 0, a negative number in case of an error.
|
||||
*/
|
||||
int scols_table_set_title(struct libscols_table *tb, const char *title, int position, const char *color)
|
||||
int scols_table_set_title(struct libscols_table *tb, const char *title, unsigned int position, const char *color)
|
||||
{
|
||||
char *p = NULL;
|
||||
char *q = NULL;
|
||||
|
|
Loading…
Reference in New Issue