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.2.25 "Hephaestus".
[chise/xemacs-chise.git.1]
/
lib-src
/
fakemail.c
diff --git
a/lib-src/fakemail.c
b/lib-src/fakemail.c
index
5397d7c
..
d3e4786
100644
(file)
--- a/
lib-src/fakemail.c
+++ b/
lib-src/fakemail.c
@@
-162,7
+162,7
@@
extern struct passwd *getpwuid ();
extern unsigned short geteuid ();
static struct passwd *my_entry;
#define cuserid(s) \
extern unsigned short geteuid ();
static struct passwd *my_entry;
#define cuserid(s) \
-(my_entry = getpwuid (((int) geteuid ())), \
+(my_entry = getpwuid ((int) geteuid ()), \
my_entry->pw_name)
#endif
\f
my_entry->pw_name)
#endif
\f
@@
-193,7
+193,7
@@
fatal (CONST char *s1, CONST char *s2)
static char *
xmalloc (size_t size)
{
static char *
xmalloc (size_t size)
{
- char *result = malloc (((unsigned) size));
+ char *result = (char *) malloc (size);
if (result == ((char *) NULL))
fatal ("virtual memory exhausted", (char *) 0);
return result;
if (result == ((char *) NULL))
fatal ("virtual memory exhausted", (char *) 0);
return result;