diff options
| author | Andreas Schwab | 1998-04-14 12:53:36 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1998-04-14 12:53:36 +0000 |
| commit | a8c21066b73b9b2f8695dde365b8aec6131a32fc (patch) | |
| tree | 178dd6b855ba926718373d364c15474f158087ef /src | |
| parent | d387866ae592b22bad5ae654eb72727d80130145 (diff) | |
| download | emacs-a8c21066b73b9b2f8695dde365b8aec6131a32fc.tar.gz emacs-a8c21066b73b9b2f8695dde365b8aec6131a32fc.zip | |
(Fchars_in_region): Fix mixing of Lisp_Object and int.
Diffstat (limited to 'src')
| -rw-r--r-- | src/charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c index 4f132e974e2..3160ff9ab2a 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -1104,7 +1104,7 @@ DEFUN ("chars-in-region", Fchars_in_region, Schars_in_region, 2, 2, 0, | |||
| 1104 | from = min (XFASTINT (beg), XFASTINT (end)); | 1104 | from = min (XFASTINT (beg), XFASTINT (end)); |
| 1105 | to = max (XFASTINT (beg), XFASTINT (end)); | 1105 | to = max (XFASTINT (beg), XFASTINT (end)); |
| 1106 | 1106 | ||
| 1107 | return to - from; | 1107 | return make_number (to - from); |
| 1108 | } | 1108 | } |
| 1109 | 1109 | ||
| 1110 | /* Return the number of characters in the NBYTES bytes at PTR. | 1110 | /* Return the number of characters in the NBYTES bytes at PTR. |