Mercurial > hg > xemacs-beta
diff src/array.h @ 5934:e2fae7783046 cygwin
lots of use of EMACS_INT, a few others, to eliminate all pointer truncation warnings
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Sat, 12 Dec 2015 19:08:46 +0000 |
parents | f7abcda06b1b |
children |
line wrap: on
line diff
--- a/src/array.h Thu Dec 10 17:55:59 2015 +0000 +++ b/src/array.h Sat Dec 12 19:08:46 2015 +0000 @@ -46,15 +46,16 @@ #define DECLARE_DYNARR_LOCKED() #endif +/* HST increased these for 64-bit */ #define Dynarr_declare(type) \ struct lrecord_header header; \ type *base; \ DECLARE_DYNARR_LISP_IMP () \ DECLARE_DYNARR_LOCKED () \ int elsize_; \ - int len_; \ - int largest_; \ - int max_ + EMACS_INT len_; \ + EMACS_INT largest_; \ + EMACS_INT max_ typedef struct dynarr {