Re: Cast necessary in JRex_JNI_Util.h ? [patch] (resent cos problem with ml archive)
Jean-Philippe Leboeuf <[email protected]> Wed, 12 Jul 2006 16:11:17 +0200
| Newsgroups | gmane.comp.mozilla.jrex |
|---|---|
| Message-ID | <[email protected]> |
Hello, going on with my patches for jrex_1_0b1_dom3... MinGW fails to find env->ReleaseStringCritical(jstr_,XXXXtempXXXX) with XXXXtempXXXX of type PRUnichar*, because this function seems to be waiting for a jchar*. So what about env->ReleaseStringCritical(jstr_,(jchar*)XXXXtempXXXX) ? I am using MinGW current on Windows XP Pro SP2 : - gcc-core-3.4.2-20040916-1 - gcc-g++-3.4.2-20040916-1 - binutils-2.15.91-20040904-1 - mingw-runtime-3.9 - w32api-3.6 ++jpl Jean-Philippe Leboeuf wrote: > Hello, > > going on with my patches for jrex_1_0b1_dom3... > > MinGW fails to find env->ReleaseStringCritical(jstr_,XXXXtempXXXX) > with XXXXtempXXXX of type PRUnichar*, because this function seems to > be waiting for a jchar*. > So what about env->ReleaseStringCritical(jstr_,(jchar*)XXXXtempXXXX) ? > > I am using MinGW current on Windows XP Pro SP2 : > - gcc-core-3.4.2-20040916-1 > - gcc-g++-3.4.2-20040916-1 > - binutils-2.15.91-20040904-1 > - mingw-runtime-3.9 > - w32api-3.6 > > ++jpl > >------------------------------------------------------------------------ > >16a17 > > >> * J.-P. Leboeuf <[email protected]> >> >> >76c77 >< env->ReleaseStringCritical(jstr_,XXXXtempXXXX); \ >--- > > >> env->ReleaseStringCritical(jstr_,(jchar*)XXXXtempXXXX); \ >> >> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>JRex mailing list >>[email protected] >>http://mozdev.org/mailman/listinfo/jrex >> >>