diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/fileio.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 222be9575b8..dd51eb9ed3b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-12-10 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * fileio.c (Fsubstitute_in_file_name): Use ptrdiff_t, not int, | ||
| 4 | for string length. | ||
| 5 | |||
| 1 | 2012-12-08 Eli Zaretskii <eliz@gnu.org> | 6 | 2012-12-08 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * w32.c (unsetenv): Return 0 if the input string is too long. | 8 | * w32.c (unsetenv): Return 0 if the input string is too long. |
diff --git a/src/fileio.c b/src/fileio.c index de3b84ba95d..56c340bfa40 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -1590,7 +1590,7 @@ those `/' is discarded. */) | |||
| 1590 | { | 1590 | { |
| 1591 | char *nm, *s, *p, *o, *x, *endp; | 1591 | char *nm, *s, *p, *o, *x, *endp; |
| 1592 | char *target = NULL; | 1592 | char *target = NULL; |
| 1593 | int total = 0; | 1593 | ptrdiff_t total = 0; |
| 1594 | bool substituted = 0; | 1594 | bool substituted = 0; |
| 1595 | bool multibyte; | 1595 | bool multibyte; |
| 1596 | char *xnm; | 1596 | char *xnm; |