[ scummvm-Bugs-1503718 ] Strange results from Common::computeCapacity
SourceForge.net
noreply at sourceforge.net
Fri Jun 9 22:45:07 CEST 2006
Bugs item #1503718, was opened at 2006-06-09 22:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1503718&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Fach-Pedersen (madm00se)
Assigned to: Nobody/Anonymous (nobody)
Summary: Strange results from Common::computeCapacity
Initial Comment:
Common::computeCapacity says
return (len + 32 - 1) & ~0x1F - 1;
which actually means
return (len + 32 - 1) & (~0x1F - 1);
instead of the intended
return ((len + 32 - 1) & ~0x1F) - 1;
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1503718&group_id=37116
More information about the Scummvm-tracker
mailing list