resourcenverbrauch, rundung

This commit is contained in:
Enno Rehling 2003-03-25 16:20:38 +00:00
parent faa4219bbd
commit 1fc1ee5158
1 changed files with 1 additions and 1 deletions

View File

@ -1773,7 +1773,7 @@ attrib_allocation(const allocator * self, region * r, allocation * alist)
norders -= want; norders -= want;
al->get = min(al->want, (int)(x/al->save)); al->get = min(al->want, (int)(x/al->save));
if (rdata->use) { if (rdata->use) {
int use = (int)(al->get * al->save); int use = required(al->get, al->save);
if (use) rdata->use(r, rtype, use); if (use) rdata->use(r, rtype, use);
} }
} }