mojoshader.c
changeset 1152 8f7653f0dc37
parent 1150 02c0f0afb39a
child 1154 1d6c2aadd16a
--- a/mojoshader.c	Fri Jan 01 12:53:03 2016 -0500
+++ b/mojoshader.c	Tue Feb 09 00:05:18 2016 -0500
@@ -8125,7 +8125,7 @@
     } // else
 
     int i;
-    const uint32 *member = (const uint32 *)((const uint8 *) (&typeptr[6]));
+    const uint32 *member = (const uint32 *) (start + typeptr[6]);
     for (i = 0; i < info->member_count; i++)
     {
         MOJOSHADER_symbolStructMember *mbr = &info->members[i];