Use the right type for VM pointers.

Probably more of these hiding in the code.
This commit is contained in:
Bill Currie 2011-02-18 09:03:04 +09:00
parent bceb98e5a4
commit ca6dd204b3

View file

@ -1554,7 +1554,7 @@ struct progs_s {
\return C pointer represented by the parameter. 0 offset -> NULL \return C pointer represented by the parameter. 0 offset -> NULL
*/ */
static inline pr_type_t * static inline pr_type_t *
PR_GetPointer (progs_t *pr, pr_uint_t o) PR_GetPointer (progs_t *pr, pointer_t o)
{ {
return o ? pr->pr_globals + o : 0; return o ? pr->pr_globals + o : 0;
} }