]> git.eshelyaron.com Git - emacs.git/commitdiff
(xmalloc): Fix previous change.
authorRichard M. Stallman <rms@gnu.org>
Mon, 25 Jan 1999 23:43:20 +0000 (23:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 25 Jan 1999 23:43:20 +0000 (23:43 +0000)
lib-src/emacsclient.c

index c6181bd2710398d7baccf81e59cce31f56b31a81..ca184cbb0344409ce50b0027e84d03750dbf7b9e 100644 (file)
@@ -152,7 +152,7 @@ long *
 xmalloc (size)
      unsigned int size;
 {
-  char *result = (char *) malloc (size);
+  long *result = (long *) malloc (size);
   if (result == NULL)
   {
     perror ("malloc");