Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2007-01-19 16:24:08 +0000
committerAndrew Niefer2007-01-19 16:24:08 +0000
commita4d8cefc336223c0f6cc3b284860ecbb62e1fd34 (patch)
tree422f2451e973c76a8502caa5324a220e53868944 /bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
parent1b60532a2bb981a892e6b3c854ff73e0e3bc86fc (diff)
downloadrt.equinox.framework-a4d8cefc336223c0f6cc3b284860ecbb62e1fd34.tar.gz
rt.equinox.framework-a4d8cefc336223c0f6cc3b284860ecbb62e1fd34.tar.xz
rt.equinox.framework-a4d8cefc336223c0f6cc3b284860ecbb62e1fd34.zip
fix warnings
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/eclipseJNI.c')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/eclipseJNI.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c b/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
index af1abb1d6..7ac53463c 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
@@ -18,11 +18,11 @@
#include <stdlib.h>
#include <string.h>
-static JNINativeMethod natives[] = {{"_update_splash", "()V", &update_splash},
- {"_get_splash_handle", "()J", &get_splash_handle},
- {"_set_exit_data", "(Ljava/lang/String;Ljava/lang/String;)V", &set_exit_data},
- {"_show_splash", "(Ljava/lang/String;)V", &show_splash},
- {"_takedown_splash", "()V", &takedown_splash}};
+static JNINativeMethod natives[] = {{"_update_splash", "()V", (void *)&update_splash},
+ {"_get_splash_handle", "()J", (void *)&get_splash_handle},
+ {"_set_exit_data", "(Ljava/lang/String;Ljava/lang/String;)V", (void *)&set_exit_data},
+ {"_show_splash", "(Ljava/lang/String;)V", (void *)&show_splash},
+ {"_takedown_splash", "()V", (void *)&takedown_splash}};
/* local methods */
static jstring newJavaString(JNIEnv *env, _TCHAR * str);

Back to the top