Commit 300b87fd authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

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
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment