diff options
| author | Paul Eggert | 2011-09-24 09:28:25 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-09-24 09:28:25 -0700 |
| commit | 9f985e85e1c6a0a1a2e161a5f3bd35b09a3b73e1 (patch) | |
| tree | 4e32dee2274cd2f0f7158ffc7193e3946d290034 /src | |
| parent | 1260aef1aea35be161846b0411aa387ade44e35f (diff) | |
| download | emacs-9f985e85e1c6a0a1a2e161a5f3bd35b09a3b73e1.tar.gz emacs-9f985e85e1c6a0a1a2e161a5f3bd35b09a3b73e1.zip | |
* xdisp.c (string_from_display_spec): Don't use int for vector length.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 68c0054114c..5131d48eff5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-09-24 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-09-24 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * xdisp.c (string_from_display_spec): Don't use int for vector length. | ||
| 4 | |||
| 3 | * indent.c (Fvertical_motion): Fix == vs = typo. | 5 | * indent.c (Fvertical_motion): Fix == vs = typo. |
| 4 | 6 | ||
| 5 | 2011-09-24 Eli Zaretskii <eliz@gnu.org> | 7 | 2011-09-24 Eli Zaretskii <eliz@gnu.org> |
diff --git a/src/xdisp.c b/src/xdisp.c index 3f545fae248..a556236835c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1226,7 +1226,7 @@ string_from_display_spec (Lisp_Object spec) | |||
| 1226 | } | 1226 | } |
| 1227 | else if (VECTORP (spec)) | 1227 | else if (VECTORP (spec)) |
| 1228 | { | 1228 | { |
| 1229 | int i; | 1229 | ptrdiff_t i; |
| 1230 | 1230 | ||
| 1231 | for (i = 0; i < ASIZE (spec); i++) | 1231 | for (i = 0; i < ASIZE (spec); i++) |
| 1232 | { | 1232 | { |