Fix Javaconnect build bustage

This commit is contained in:
pedemont%us.ibm.com 2005-04-07 18:58:52 +00:00
parent cf07e1ad5c
commit e879274019
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,6 @@ srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
MODULE = javaxpcom
LIBRARY_NAME = javaxpcom

View File

@ -1272,8 +1272,8 @@ GetXPCOMInstFromProxy(JNIEnv* env, jobject aJavaObject, void** aResult)
if (!aResult)
return NS_ERROR_NULL_POINTER;
long xpcom_obj = env->CallStaticIntMethod(xpcomJavaProxyClass,
getNativeXPCOMInstMID, aJavaObject);
long xpcom_obj = env->CallStaticLongMethod(xpcomJavaProxyClass,
getNativeXPCOMInstMID, aJavaObject);
if (!xpcom_obj || env->ExceptionCheck()) {
return NS_ERROR_FAILURE;

View File

@ -79,6 +79,7 @@ SDK_XPIDLSRCS = \
JAVA_XPIDLSRCS = \
nsIDownload.idl \
nsITransfer.idl \
nsIWebProgressListener2.idl \
$(NULL)
XPIDLSRCS = \