summaryrefslogtreecommitdiff
path: root/devel/ocfpcsc/files/patch-fieldIO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ocfpcsc/files/patch-fieldIO.cpp')
-rw-r--r--devel/ocfpcsc/files/patch-fieldIO.cpp56
1 files changed, 0 insertions, 56 deletions
diff --git a/devel/ocfpcsc/files/patch-fieldIO.cpp b/devel/ocfpcsc/files/patch-fieldIO.cpp
deleted file mode 100644
index 79bc2ef741a1..000000000000
--- a/devel/ocfpcsc/files/patch-fieldIO.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
---- fieldIO.cpp.orig 2009-01-07 17:34:29.486504988 +0100
-+++ fieldIO.cpp 2009-01-07 17:34:39.651535899 +0100
-@@ -58,7 +58,7 @@
- * != 0 - problem occurred, exception was thrown
- *
- ******************************************************************************/
--long getIntField(JNIEnv *env, jobject obj, char *fieldName, long *pFieldValue) {
-+long getIntField(JNIEnv *env, jobject obj, const char *fieldName, long *pFieldValue) {
- long rc = 1;
- jfieldID fid;
-
-@@ -92,7 +92,7 @@
- * != 0 - problem occurred, exception was thrown
- *
- ******************************************************************************/
--long setIntField(JNIEnv *env, jobject obj, char *fieldName, long fieldValue) {
-+long setIntField(JNIEnv *env, jobject obj, const char *fieldName, long fieldValue) {
- long rc = 1;
- jfieldID fid;
-
-@@ -132,7 +132,7 @@
- ******************************************************************************/
- long accessByteArray(JNIEnv *env,
- jobject obj,
-- char *fieldName,
-+ const char *fieldName,
- unsigned char **field,
- int *pSize) {
-
-@@ -182,7 +182,7 @@
- * !=0 - problem occurred, exception was thrown
- *
- ******************************************************************************/
--long releaseByteArray(JNIEnv *env, jobject obj, char *fieldName, unsigned char *pByte) {
-+long releaseByteArray(JNIEnv *env, jobject obj, const char *fieldName, unsigned char *pByte) {
-
- long rc=1;
- jfieldID fid;
-@@ -225,7 +225,7 @@
- * NULL - problem occurred, exception was thrown
- *
- ******************************************************************************/
--const char *accessStringField(JNIEnv *env, jobject obj, char *fieldName) {
-+const char *accessStringField(JNIEnv *env, jobject obj, const char *fieldName) {
- jfieldID fid;
- jstring jstr;
- const char *pstr = NULL;
-@@ -261,7 +261,7 @@
- * != 0 - problem occurred, exception was thrown
- *
- ******************************************************************************/
--long releaseStringField(JNIEnv *env, jobject obj, char *fieldName, const char *field) {
-+long releaseStringField(JNIEnv *env, jobject obj, const char *fieldName, const char *field) {
- jfieldID fid;
- jstring jstr;
- int error = 1;