diff src/extents.c @ 203:850242ba4a81 r20-3b28

Import from CVS: tag r20-3b28
author cvs
date Mon, 13 Aug 2007 10:02:21 +0200
parents a2f645c6b9f8
children e45d5e7c476e
line wrap: on
line diff
--- a/src/extents.c	Mon Aug 13 10:01:24 2007 +0200
+++ b/src/extents.c	Mon Aug 13 10:02:21 2007 +0200
@@ -2616,6 +2616,7 @@
   xfree (ef);
 }
 
+/* Note:  CONST is losing, but `const' is part of the interface of qsort() */
 static int
 extent_priority_sort_function (const void *humpty, const void *dumpty)
 {
@@ -3006,7 +3007,7 @@
       write_c_string (" ", printcharfun);
     }
 
-  sprintf (bp, "0x%p", ext);
+  sprintf (buf, "0x%p", ext);
   write_c_string (buf, printcharfun);
 }