Mercurial > hg > xemacs-beta
comparison src/alloca.c @ 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 | d363790fd936 |
children |
comparison
equal
deleted
inserted
replaced
5933:c1e8f3294298 | 5934:e2fae7783046 |
---|---|
127 was supposed to be taken from the current stack frame of the | 127 was supposed to be taken from the current stack frame of the |
128 caller, but that method cannot be made to work for some | 128 caller, but that method cannot be made to work for some |
129 implementations of C, for example under Gould's UTX/32. */ | 129 implementations of C, for example under Gould's UTX/32. */ |
130 | 130 |
131 pointer | 131 pointer |
132 xemacs_c_alloca (unsigned int size) | 132 xemacs_c_alloca (EMACS_UINT size) |
133 { | 133 { |
134 char probe; /* Probes stack depth: */ | 134 char probe; /* Probes stack depth: */ |
135 register char *depth = ADDRESS_FUNCTION (probe); | 135 register char *depth = ADDRESS_FUNCTION (probe); |
136 | 136 |
137 #if STACK_DIRECTION == 0 | 137 #if STACK_DIRECTION == 0 |