Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
This commit is contained in:
parent
3ea92166a0
commit
ac0010940e
|
@ -1,3 +1,8 @@
|
|||
2006-04-07 Patrick Lam <plam@mit.edu>
|
||||
* src/fcname.c (FcObjectUnserialize):
|
||||
|
||||
Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
|
||||
|
||||
2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
|
||||
reviewed by: plam
|
||||
|
||||
|
|
|
@ -373,8 +373,8 @@ void *
|
|||
FcObjectUnserialize (FcCache * metadata, void *block_ptr)
|
||||
{
|
||||
int new_biggest;
|
||||
new_biggest = *(int *)block_ptr;
|
||||
block_ptr = ALIGN (block_ptr, int);
|
||||
new_biggest = *(int *)block_ptr;
|
||||
block_ptr = (int *) block_ptr + 1;
|
||||
if (biggest_known_ntypes < new_biggest)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue