]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcname.c
Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
[fontconfig.git] / src / fcname.c
index bc55d2cb9851d7ff2cab3da5efcbb6a9305435aa..2f6f4e6dbeee6918960091cbeea3cbd30d63d36f 100644 (file)
@@ -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)
     {