]> git.eshelyaron.com Git - emacs.git/commitdiff
(get_system_name): Add a cast.
authorRichard M. Stallman <rms@gnu.org>
Mon, 25 Jul 1994 21:20:28 +0000 (21:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 25 Jul 1994 21:20:28 +0000 (21:20 +0000)
src/editfns.c

index 3c1bb3fa3eb7f77f375914fbe746a00c11f8bc7c..13cee5c5d259dfa83dd2f13c8a1b0382280c08bd 100644 (file)
@@ -535,7 +535,7 @@ DEFUN ("system-name", Fsystem_name, Ssystem_name, 0, 0, 0,
 char *
 get_system_name ()
 {
-  return XSTRING (Vsystem_name)->data;
+  return (char *) XSTRING (Vsystem_name)->data;
 }
 
 DEFUN ("emacs-pid", Femacs_pid, Semacs_pid, 0, 0, 0,