From: David Lawrence Ramsey Date: Wed, 29 Jun 2005 00:17:18 +0000 (+0000) Subject: add one missing type change X-Git-Tag: v1.3.8~11 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5beae58597d6265576f0002d6c6e37419183324d;p=nano.git add one missing type change git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2792 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/proto.h b/src/proto.h index 961e95c8..3ec20383 100644 --- a/src/proto.h +++ b/src/proto.h @@ -522,8 +522,8 @@ ssize_t do_replace_loop(const char *needle, const filestruct *real_current, size_t *real_current_x, bool wholewords, bool *canceled); void do_replace(void); -void do_gotolinecolumn(int line, ssize_t column, bool use_answer, bool - interactive, bool save_pos); +void do_gotolinecolumn(ssize_t line, ssize_t column, bool use_answer, + bool interactive, bool save_pos); void do_gotolinecolumn_void(void); #if defined(ENABLE_MULTIBUFFER) || !defined(DISABLE_SPELLER) void do_gotopos(ssize_t line, size_t pos_x, ssize_t pos_y, size_t diff --git a/src/search.c b/src/search.c index ad98dd32..c1975a61 100644 --- a/src/search.c +++ b/src/search.c @@ -961,8 +961,8 @@ void do_replace(void) /* Go to the specified line and column, or ask for them if interactive * is TRUE. Save the x-coordinate and y-coordinate if save_pos is TRUE. * Note that both the line and column numbers should be one-based. */ -void do_gotolinecolumn(int line, ssize_t column, bool use_answer, bool - interactive, bool save_pos) +void do_gotolinecolumn(ssize_t line, ssize_t column, bool use_answer, + bool interactive, bool save_pos) { if (interactive) { /* Ask for it. */ char *ans = mallocstrcpy(NULL, answer);