mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-26 08:41:47 -07:00
Avoid bad cast on 64-bit.
Copied from Perforce Change: 185534 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
cd1e68813c
commit
680956c4ea
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ static void test(void)
|
|||
comment("%i of 10.", i);
|
||||
UC;
|
||||
z[i] = allocone(ap, 1, 1);
|
||||
if (i % 8 == 0) { z[i] = (mycell *) ((int)z[i] + 4); } /* error to scan this! */
|
||||
if (i % 8 == 0) { z[i] = (mycell *) ((mps_word_t)z[i] + 4); } /* error to scan this! */
|
||||
}
|
||||
|
||||
for (i=0; i<1000; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue