diff options
| author | Lars Magne Ingebrigtsen | 2010-09-23 22:57:48 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2010-09-23 22:57:48 +0200 |
| commit | faf8b5bc19513bc7612103648a98a37629607f2e (patch) | |
| tree | 23f9f3a5511baadedf3ac118323f3bd4a0be5657 /src/editfns.c | |
| parent | 4028306292f1808f11131a9c6b32394cdaed4a34 (diff) | |
| download | emacs-faf8b5bc19513bc7612103648a98a37629607f2e.tar.gz emacs-faf8b5bc19513bc7612103648a98a37629607f2e.zip | |
Cast SPECPDL_INDEX to int, and do further EMACS_INT/int cleanups.
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/editfns.c b/src/editfns.c index f7240e99190..f76beb5e678 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -2270,7 +2270,7 @@ from adjoining text, if those properties are sticky. */) | |||
| 2270 | (Lisp_Object character, Lisp_Object count, Lisp_Object inherit) | 2270 | (Lisp_Object character, Lisp_Object count, Lisp_Object inherit) |
| 2271 | { | 2271 | { |
| 2272 | register unsigned char *string; | 2272 | register unsigned char *string; |
| 2273 | register int strlen; | 2273 | register EMACS_INT strlen; |
| 2274 | register int i; | 2274 | register int i; |
| 2275 | register EMACS_INT n; | 2275 | register EMACS_INT n; |
| 2276 | int len; | 2276 | int len; |
| @@ -2955,7 +2955,7 @@ It returns the number of characters changed. */) | |||
| 2955 | register unsigned char *tt; /* Trans table. */ | 2955 | register unsigned char *tt; /* Trans table. */ |
| 2956 | register int nc; /* New character. */ | 2956 | register int nc; /* New character. */ |
| 2957 | int cnt; /* Number of changes made. */ | 2957 | int cnt; /* Number of changes made. */ |
| 2958 | int size; /* Size of translate table. */ | 2958 | EMACS_INT size; /* Size of translate table. */ |
| 2959 | EMACS_INT pos, pos_byte, end_pos; | 2959 | EMACS_INT pos, pos_byte, end_pos; |
| 2960 | int multibyte = !NILP (current_buffer->enable_multibyte_characters); | 2960 | int multibyte = !NILP (current_buffer->enable_multibyte_characters); |
| 2961 | int string_multibyte; | 2961 | int string_multibyte; |
| @@ -3026,7 +3026,7 @@ It returns the number of characters changed. */) | |||
| 3026 | } | 3026 | } |
| 3027 | else | 3027 | else |
| 3028 | { | 3028 | { |
| 3029 | int c; | 3029 | EMACS_INT c; |
| 3030 | 3030 | ||
| 3031 | nc = oc; | 3031 | nc = oc; |
| 3032 | val = CHAR_TABLE_REF (table, oc); | 3032 | val = CHAR_TABLE_REF (table, oc); |
| @@ -3239,7 +3239,7 @@ save_restriction_restore (Lisp_Object data) | |||
| 3239 | /* The restriction has changed from the saved one, so restore | 3239 | /* The restriction has changed from the saved one, so restore |
| 3240 | the saved restriction. */ | 3240 | the saved restriction. */ |
| 3241 | { | 3241 | { |
| 3242 | int pt = BUF_PT (buf); | 3242 | EMACS_INT pt = BUF_PT (buf); |
| 3243 | 3243 | ||
| 3244 | SET_BUF_BEGV_BOTH (buf, beg->charpos, beg->bytepos); | 3244 | SET_BUF_BEGV_BOTH (buf, beg->charpos, beg->bytepos); |
| 3245 | SET_BUF_ZV_BOTH (buf, end->charpos, end->bytepos); | 3245 | SET_BUF_ZV_BOTH (buf, end->charpos, end->bytepos); |