diff options
| author | Dave Love | 2003-01-07 17:54:30 +0000 |
|---|---|---|
| committer | Dave Love | 2003-01-07 17:54:30 +0000 |
| commit | 92eaa22e5dc223aec591a70eea0a00336d853f6b (patch) | |
| tree | e931f7c5ec1a484e0552f2ec69442f8433280eee | |
| parent | a6dd56c511d8d7ceedf4b490be8f9f5c59a51aa2 (diff) | |
| download | emacs-92eaa22e5dc223aec591a70eea0a00336d853f6b.tar.gz emacs-92eaa22e5dc223aec591a70eea0a00336d853f6b.zip | |
(skip_chars, skip_syntaxes): Fix type errors.
| -rw-r--r-- | src/syntax.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax.c b/src/syntax.c index cf3d3bd258a..32e5802beac 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1413,7 +1413,7 @@ skip_chars (forwardp, string, lim) | |||
| 1413 | XSETFASTINT (lim, BEGV); | 1413 | XSETFASTINT (lim, BEGV); |
| 1414 | 1414 | ||
| 1415 | multibyte = (!NILP (current_buffer->enable_multibyte_characters) | 1415 | multibyte = (!NILP (current_buffer->enable_multibyte_characters) |
| 1416 | && (lim - PT != CHAR_TO_BYTE (lim) - PT_BYTE)); | 1416 | && (XINT (lim) - PT != CHAR_TO_BYTE (XINT (lim)) - PT_BYTE)); |
| 1417 | string_multibyte = STRING_BYTES (XSTRING (string)) > XSTRING (string)->size; | 1417 | string_multibyte = STRING_BYTES (XSTRING (string)) > XSTRING (string)->size; |
| 1418 | 1418 | ||
| 1419 | bzero (fastmap, sizeof fastmap); | 1419 | bzero (fastmap, sizeof fastmap); |
| @@ -1732,10 +1732,10 @@ skip_syntaxes (forwardp, string, lim) | |||
| 1732 | XSETFASTINT (lim, BEGV); | 1732 | XSETFASTINT (lim, BEGV); |
| 1733 | 1733 | ||
| 1734 | if (forwardp ? (PT >= XFASTINT (lim)) : (PT <= XFASTINT (lim))) | 1734 | if (forwardp ? (PT >= XFASTINT (lim)) : (PT <= XFASTINT (lim))) |
| 1735 | return 0; | 1735 | return Qnil; |
| 1736 | 1736 | ||
| 1737 | multibyte = (!NILP (current_buffer->enable_multibyte_characters) | 1737 | multibyte = (!NILP (current_buffer->enable_multibyte_characters) |
| 1738 | && (lim - PT != CHAR_TO_BYTE (lim) - PT_BYTE)); | 1738 | && (XINT (lim) - PT != CHAR_TO_BYTE (XINT (lim)) - PT_BYTE)); |
| 1739 | 1739 | ||
| 1740 | bzero (fastmap, sizeof fastmap); | 1740 | bzero (fastmap, sizeof fastmap); |
| 1741 | 1741 | ||