core: Fix realloc() code transcription error
commitdd59314c304ec83bee927af7395af5ceb4942f66
authorShao Miller <sha0.miller@gmail.com>
Mon, 5 Nov 2012 02:23:09 +0000 (4 21:23 -0500)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 5 Nov 2012 08:33:15 +0000 (5 08:33 +0000)
tree23f3b01b8783f706587bc7cd8fe66188222fe641
parent2bc5ea50ca5f670c1101d7986a70adfc5cae8b48
core: Fix realloc() code transcription error

Commit 79459f631546eea83d4158f535c20ebd4ac18987 copied portions of
com32/lib/realloc.c into core/mem/malloc.c, with minor changes
for accessing allocation arena header attributes.  The previous
code used structure members and the current code uses bitmask
macros.

On a particular line in the original realloc(), there were two
assignments in a single expression that included a compound
assignment.  This fact was missed when the code was copied and
modified to use the bitmask macros.

Signed-off-by: Shao Miller <sha0.miller@gmail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
core/mem/malloc.c