diff src/file-coding.c @ 3425:ca9976dc328e

[xemacs-hg @ 2006-05-25 08:04:56 by aidan] Last build problem was with eicpy_ext, not stderr_out.
author aidan
date Thu, 25 May 2006 08:04:57 +0000
parents a9bb932a03b5
children 6b2ef948e140
line wrap: on
line diff
--- a/src/file-coding.c	Wed May 24 21:51:13 2006 +0000
+++ b/src/file-coding.c	Thu May 25 08:04:57 2006 +0000
@@ -3367,15 +3367,15 @@
 static void
 output_bytes_in_ascii_and_hex (const UExtbyte *src, Bytecount n)
 {
-  UExtbyte *ascii = alloca_array (UExtbyte, n + 1);
-  UExtbyte *hex = alloca_array (UExtbyte, 3 * n + 1);
+  Extbyte *ascii = alloca_array (Extbyte, n + 1);
+  Extbyte *hex = alloca_array (Extbyte, 3 * n + 1);
   int i;
   DECLARE_EISTRING (eistr_ascii);
   DECLARE_EISTRING (eistr_hex);
 
   for (i = 0; i < n; i++)
     {
-      UExtbyte c = src[i];
+      Extbyte c = src[i];
       if (c < 0x20)
 	ascii[i] = '.';
       else
@@ -3390,8 +3390,7 @@
   eicpy_ext(eistr_hex, hex, Qbinary);
   eicpy_ext(eistr_ascii, ascii, Qbinary);
 
-  stderr_out ("%s  %s", (const CIbyte *)(eidata(eistr_ascii)), 
-	      (const CIbyte *)eidata(eistr_hex));
+  stderr_out ("%s  %s", eidata(eistr_ascii), eidata(eistr_hex));
 }
 
 #endif /* DEBUG_XEMACS */