Browse Source

* editdraw.c (edit_status): Changed some variables from size_t to
int to avoid GCC warnings.

Roland Illig 20 years ago
parent
commit
020455853d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      edit/editdraw.c

+ 2 - 2
edit/editdraw.c

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