-/* The special value of -1 means that a inlined function starts, a value of */
-/* -2 means that an inlined function ends */
+/* Keep the type of line the same as the pointer type, otherwise we run into */
+/* alignment troubles (like on MIPS64). */
u1 *lntstart; /* start of line number table */
lineNumberTableEntry *lntentry; /* points to last entry in the table */
/* get size of line number table */
u1 *lntstart; /* start of line number table */
lineNumberTableEntry *lntentry; /* points to last entry in the table */
/* get size of line number table */
- lntsize = *((s4 *) (pv + LineNumberTableSize));
- lntstart = *((u1 **) (pv + LineNumberTableStart));
+ lntsize = *((ptrint *) (pv + LineNumberTableSize));
+ lntstart = *((u1 **) (pv + LineNumberTableStart));
/* subtract the size of the line number entry of the structure, since the */
/* line number table start points to the pc */
/* subtract the size of the line number entry of the structure, since the */
/* line number table start points to the pc */