aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/emacsclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index c6181bd2710..ca184cbb034 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -152,7 +152,7 @@ long *
152xmalloc (size) 152xmalloc (size)
153 unsigned int size; 153 unsigned int size;
154{ 154{
155 char *result = (char *) malloc (size); 155 long *result = (long *) malloc (size);
156 if (result == NULL) 156 if (result == NULL)
157 { 157 {
158 perror ("malloc"); 158 perror ("malloc");