1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00

* fileio.c (Fsubstitute_in_file_name): Use ptrdiff_t, not int,

for string length.
This commit is contained in:
Paul Eggert 2012-12-09 17:44:32 -08:00
parent bad162fd1b
commit 5f460827dd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-12-10 Paul Eggert <eggert@cs.ucla.edu>
* fileio.c (Fsubstitute_in_file_name): Use ptrdiff_t, not int,
for string length.
2012-12-08 Eli Zaretskii <eliz@gnu.org>
* w32.c (unsetenv): Return 0 if the input string is too long.

View File

@ -1590,7 +1590,7 @@ those `/' is discarded. */)
{
char *nm, *s, *p, *o, *x, *endp;
char *target = NULL;
int total = 0;
ptrdiff_t total = 0;
bool substituted = 0;
bool multibyte;
char *xnm;