Subj : unsigned long To : netscape.public.mozilla.jseng From : "Thibaut" Date : Thu Apr 15 2004 12:33 pm I don't know how to resolve this error, if someone can help ... lengthp is a jsint like it's said in the api... ?! how can i convert a jsint (long) to unsigned long ? /////////// my code /////////////////// jsint lengthp; if (!JS_GetArrayLength(cx, array_children,&lengthp)) return JS_FALSE; ///////////////////////////////////////////// error C2664: 'JS_GetArrayLength' : cannot convert parameter 3 from 'long *' to 'unsigned long *' .