nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 300b87fda694eae572cd341c67e1f6f72d956a4b
parent 49c3f2406d80af5e971f19b5ea4126f23a1f58f7
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Mon, 12 Jul 2004 16:26:55 +0000

add missing part of the variable type changes in do_gotoline()


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1854 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/search.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/search.c b/src/search.c @@ -846,7 +846,7 @@ void do_gotoline(ssize_t line, int save_pos) return; } - line = atoi(answer); + line = (ssize_t)atol(answer); /* Bounds check. */ if (line <= 0) {