Update xref_pref_impl and xref_next_impl to INT32 and add appropriate casting to API routines
Update xref_pref_impl and xref_next_impl to INT32 and add appropriate casting to API routines

MarcNo/lifelines,MarcNo/lifelines,MarcNo/lifelines,MarcNo/lifelines