(Funencodable_char_position): Lisp_Object/int mixup.
authorGerd Moellmann <gerd@gnu.org>
Tue, 13 Aug 2002 19:12:46 +0000 (19:12 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 13 Aug 2002 19:12:46 +0000 (19:12 +0000)
src/ChangeLog
src/coding.c

index e74bff0..acae55c 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-13  Gerd Moellmann  <gerd.moellmann@t-online.de>
+
+       * coding.c (Funencodable_char_position): Lisp_Object/int mixup.
+
 2002-08-12  Richard M. Stallman  <rms@gnu.org>
 
        * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H.
index 7f9f517..fd0d36e 100644 (file)
@@ -6619,7 +6619,7 @@ to the string.  */)
       Lisp_Object args[2];
 
       args[0] = unencodable_char_position (safe_chars, from, p, GPT_ADDR, n);
-      n -= Flength (args[0]);
+      n -= XINT (Flength (args[0]));
       if (n <= 0)
        positions = args[0];
       else