diff options
author | John Keiser <shalom@gnu.org> | 1998-07-23 02:00:57 +0000 |
---|---|---|
committer | John Keiser <shalom@gnu.org> | 1998-07-23 02:00:57 +0000 |
commit | be99c33a2fc3591e7c736a4520287a37368f5ebc (patch) | |
tree | 4fe6a22a9316dbfc33e80f8108b2a8fb2701c33c | |
parent | 9dfe8a6125366601197a5bfdf041763a315fe606 (diff) | |
download | classpath-be99c33a2fc3591e7c736a4520287a37368f5ebc.tar.gz |
Fixed a little warning booboo.
-rwxr-xr-x | native/lib/jcl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/native/lib/jcl.c b/native/lib/jcl.c index 2594ef364..551af6dfa 100755 --- a/native/lib/jcl.c +++ b/native/lib/jcl.c @@ -70,9 +70,9 @@ JNIEXPORT jint JNICALL JCL_MonitorExit(JNIEnv * env, jobject o) { } JNIEXPORT jclass JNICALL JCL_FindClass(JNIEnv * env, char * className) { - jint retval = (*env)->FindClass(env,className); - if(retval != 0) { + jclass retval = (*env)->FindClass(env,className); + if(retval != NULL) { JCL_ThrowException(env, "java/lang/ClassNotFoundException", className); } return retval; -}
\ No newline at end of file +} |