gnome-commander r1868 - in branches/gcmd-1-3: . src/intviewer



Author: epiotr
Date: Thu Jul 10 21:57:58 2008
New Revision: 1868
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1868&view=rev

Log:
Fix for problem #539753 (build error on Solaris)

Modified:
   branches/gcmd-1-3/ChangeLog
   branches/gcmd-1-3/src/intviewer/fileops.cc

Modified: branches/gcmd-1-3/src/intviewer/fileops.cc
==============================================================================
--- branches/gcmd-1-3/src/intviewer/fileops.cc	(original)
+++ branches/gcmd-1-3/src/intviewer/fileops.cc	Thu Jul 10 21:57:58 2008
@@ -336,7 +336,7 @@
 
 #ifdef HAVE_MMAP
     if (ops->mmapping)
-        munmap (ops->data, ops->s.st_size);
+        munmap ((char *) ops->data, ops->s.st_size);
 #endif                // HAVE_MMAP
     gv_file_close (ops);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]