projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XEmacs 21.4.5 "Civil Service".
[chise/xemacs-chise.git.1]
/
src
/
lread.c
diff --git
a/src/lread.c
b/src/lread.c
index
b8d88bb
..
918a2cd
100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-984,7
+984,7
@@
locate_file_map_suffixes (Lisp_Object filename, Lisp_Object suffixes,
while (1)
{
char *esuffix = (char *) strchr (nsuffix, ':');
while (1)
{
char *esuffix = (char *) strchr (nsuffix, ':');
- int lsuffix = esuffix ? esuffix - nsuffix : strlen (nsuffix);
+ int lsuffix = esuffix ? esuffix - nsuffix : (int) strlen (nsuffix);
/* Concatenate path element/specified name with the suffix. */
strncpy (fn + fn_len, nsuffix, lsuffix);
/* Concatenate path element/specified name with the suffix. */
strncpy (fn + fn_len, nsuffix, lsuffix);