diff options
| author | Paul Eggert | 2012-07-21 20:44:35 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-07-21 20:44:35 -0700 |
| commit | fb9ea40fc511eb7e42a512ada9e369cce1bfd932 (patch) | |
| tree | 06dbb3d36540010e7d8657bcee8207f0f7e43e83 /src/buffer.h | |
| parent | 37a9eac80c07eec4f17917433bc8c406e812e394 (diff) | |
| download | emacs-fb9ea40fc511eb7e42a512ada9e369cce1bfd932.tar.gz emacs-fb9ea40fc511eb7e42a512ada9e369cce1bfd932.zip | |
* buffer.h (struct buffer.indirections): Now ptrdiff_t, not int,
as it's limited by the amount of memory, not by INT_MAX.
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.h b/src/buffer.h index 69be4dc7773..61f9e72fcfd 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -776,9 +776,9 @@ struct buffer | |||
| 776 | struct buffer *base_buffer; | 776 | struct buffer *base_buffer; |
| 777 | 777 | ||
| 778 | /* In an indirect buffer, this is -1. In an ordinary buffer, | 778 | /* In an indirect buffer, this is -1. In an ordinary buffer, |
| 779 | it's the number of indirect buffers which shares our text; | 779 | it's the number of indirect buffers that share our text; |
| 780 | zero means that we're the only owner of this text. */ | 780 | zero means that we're the only owner of this text. */ |
| 781 | int indirections; | 781 | ptrdiff_t indirections; |
| 782 | 782 | ||
| 783 | /* A non-zero value in slot IDX means that per-buffer variable | 783 | /* A non-zero value in slot IDX means that per-buffer variable |
| 784 | with index IDX has a local value in this buffer. The index IDX | 784 | with index IDX has a local value in this buffer. The index IDX |