Mercurial > hg > xemacs-beta
diff src/dired.c @ 424:11054d720c21 r21-2-20
Import from CVS: tag r21-2-20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:26:11 +0200 |
parents | 697ef44129c6 |
children |
line wrap: on
line diff
--- a/src/dired.c Mon Aug 13 11:25:03 2007 +0200 +++ b/src/dired.c Mon Aug 13 11:26:11 2007 +0200 @@ -558,7 +558,7 @@ } struct user_cache { - char **data; + Bufbyte **data; int length; int size; EMACS_TIME last_rebuild_time; @@ -634,9 +634,10 @@ Bufbyte *pwuser; QUIT; DO_REALLOC (user_cache.data, user_cache.size, - user_cache.length + 1, char *); + user_cache.length + 1, Bufbyte *); GET_C_CHARPTR_INT_DATA_ALLOCA (pwd->pw_name, FORMAT_OS, pwuser); - user_cache.data[user_cache.length++] = xstrdup (pwuser); + user_cache.data[user_cache.length++] = + (Bufbyte *) xstrdup ((char *) pwuser); } endpwent (); speed_up_interrupts ();