freebsd-ports/security/saferpay/files/patch-jConfigurationSetup.cpp
Philip M. Gollucci bcfb2fbd8c - Fix build with gcc 4.2 on amd64
Note, this might fix sparc64 too but I can't test it
- Bump PORTREVISION

PR:             ports/152333
Submitted by:   Peter Klett <peter@netkey.at>
Approved by:    maintainer timeout (mbr ; 24 days)
2010-12-12 01:08:05 +00:00

11 lines
414 B
C++

--- saferpay/jConfigurationSetup.cpp.orig 2008-12-19 13:13:09.000000000 +0100
+++ saferpay/jConfigurationSetup.cpp 2008-12-19 13:12:50.000000000 +0100
@@ -33,7 +33,7 @@
IDP_E_UNEXPECTED)
return;
}
+ env->SetIntField(obj, fid, (jlong)CreateConfigurationSetup());
- env->SetIntField(obj, fid, (jint)CreateConfigurationSetup());
}
JNIEXPORT void JNICALL Java_soplex_saferpay_ConfigurationSetup_nDestruct