changeset 33675:cd12ade4547d

(mmap_free_1): Avoid a compiler warning.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 21 Nov 2000 12:32:40 +0000
parents 8501df083ce8
children cc2cd2cf0f67
files src/buffer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Tue Nov 21 12:23:31 2000 +0000
+++ b/src/buffer.c	Tue Nov 21 12:32:40 2000 +0000
@@ -4227,7 +4227,7 @@
   else
     mmap_regions = r->next;
   
-  if (munmap (r, r->nbytes_mapped) == -1)
+  if (munmap ((POINTER_TYPE *) r, r->nbytes_mapped) == -1)
     {
       fprintf (stderr, "munmap: %s\n", emacs_strerror (errno));
       return 0;