commit | 9db580634c0055674017eab535b1b9eec7d6939d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat May 29 20:33:07 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat May 29 20:33:07 2010 +0200 |
tree | d34ad271b13df816deeeae7622757b8dd385cf1a | |
parent | f05e3b0220a6b68791b5563ddf67ad42dbf74ee2 [diff] [blame] |
Various improvements to undo file code to make it more robust.
diff --git a/src/misc2.c b/src/misc2.c index 470bc2f..f5bad9c 100644 --- a/src/misc2.c +++ b/src/misc2.c
@@ -6134,7 +6134,7 @@ get2c(fd) FILE *fd; { - long n; + int n; n = getc(fd); n = (n << 8) + getc(fd); @@ -6148,7 +6148,7 @@ get3c(fd) FILE *fd; { - long n; + int n; n = getc(fd); n = (n << 8) + getc(fd); @@ -6163,7 +6163,7 @@ get4c(fd) FILE *fd; { - long n; + int n; n = getc(fd); n = (n << 8) + getc(fd);