From: David Lawrence Ramsey Date: Wed, 28 Jul 2004 20:53:55 +0000 (+0000) Subject: add a few missing placewewant size_t conversions X-Git-Tag: v1.3.4~35 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=360093a6523d782c25277c10eda360788de07f20;p=nano.git add a few missing placewewant size_t conversions git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1871 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/nano.c b/src/nano.c index 5dc3ba9b..fa7d0fb0 100644 --- a/src/nano.c +++ b/src/nano.c @@ -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