Fixed a bug in the wall code that actually produced the bug I mentioned

in the last commit... :/


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1262 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2002-09-29 02:21:22 +00:00
parent ebe92efe60
commit a3da50e5ed
1 changed files with 2 additions and 1 deletions

View File

@ -290,12 +290,13 @@ out:
#if USE_WALL
{
uint32 *wall = address;
size -= 20;
wall[0] = size;
wall[1] = 0xabadcafe;
wall[2] = 0xabadcafe;
address = (uint8 *)address + 12;
size -= 20;
wall = (uint32 *)((uint8 *)address + size);
wall[0] = 0xabadcafe;