changeset 21519:9b26f9300d41

(Fchars_in_region): Fix mixing of Lisp_Object and int.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 12:53:36 +0000
parents 1b0d88d6fb42
children ca4819c36ab9
files src/charset.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c	Tue Apr 14 12:52:08 1998 +0000
+++ b/src/charset.c	Tue Apr 14 12:53:36 1998 +0000
@@ -1104,7 +1104,7 @@
   from = min (XFASTINT (beg), XFASTINT (end));
   to = max (XFASTINT (beg), XFASTINT (end));
 
-  return to - from;
+  return make_number (to - from);
 }
 
 /* Return the number of characters in the NBYTES bytes at PTR.