]> git.wh0rd.org Git - nano.git/commitdiff
add a few missing placewewant size_t conversions
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 28 Jul 2004 20:53:55 +0000 (20:53 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 28 Jul 2004 20:53:55 +0000 (20:53 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1871 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c

index 5dc3ba9b832ba6dcfdad1bada27977bd2c12d2fa..fa7d0fb059522412ca4472f00b6deefaaca6c56e 100644 (file)
@@ -1729,7 +1729,8 @@ const char *do_int_speller(char *tempfile_name)
 const char *do_alt_speller(char *tempfile_name)
 {
     int alt_spell_status, lineno_cur = current->lineno;
-    int x_cur = current_x, y_cur = current_y, pww_cur = placewewant;
+    int x_cur = current_x, y_cur = current_y;
+    size_t pww_cur = placewewant;
     pid_t pid_spell;
     char *ptr;
     static int arglen = 3;
@@ -2151,7 +2152,7 @@ int break_line(const char *line, int goal, int force)
 int do_para_search(justbegend search_type, size_t *quote, size_t *par,
        size_t *indent, int do_refresh)
 {
-    int old_pww = placewewant;
+    size_t old_pww = placewewant;
     const filestruct *current_save = current;
     size_t quote_len;
        /* Length of the initial quotation of the paragraph we