* editdraw.c (edit_status): Changed some variables from size_t to
int to avoid GCC warnings.
Этот коммит содержится в:
родитель
9558c7178f
Коммит
020455853d
@ -93,9 +93,9 @@ edit_status (WEdit *edit)
|
|||||||
const int w = edit->widget.cols;
|
const int w = edit->widget.cols;
|
||||||
const size_t status_size = w + 1;
|
const size_t status_size = w + 1;
|
||||||
char * const status = g_malloc (status_size);
|
char * const status = g_malloc (status_size);
|
||||||
size_t status_len;
|
int status_len;
|
||||||
const char *fname = "";
|
const char *fname = "";
|
||||||
size_t fname_len;
|
int fname_len;
|
||||||
const int gap = 3; /* between the filename and the status */
|
const int gap = 3; /* between the filename and the status */
|
||||||
const int right_gap = 2; /* at the right end of the screen */
|
const int right_gap = 2; /* at the right end of the screen */
|
||||||
const int preferred_fname_len = 16;
|
const int preferred_fname_len = 16;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user