diff --git a/include/libmocha.h b/include/libmocha.h index edc7b63f721..dea5a18341e 100644 --- a/include/libmocha.h +++ b/include/libmocha.h @@ -551,7 +551,7 @@ LM_SetUntransformedSource(JSPrincipals *principals, char *original, char *transformed); extern JSPrincipals * PR_CALLBACK -LM_GetJSPrincipalsFromJavaCaller(JSContext *cx, int callerDepth); +LM_GetJSPrincipalsFromJavaCaller(JSContext *cx, void *principalsArray); /* * LM_RegisterPrincipals will verify and register a set of principals