summaryrefslogtreecommitdiffstats
path: root/WebCore/bridge/jni/JNIUtility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bridge/jni/JNIUtility.cpp')
-rw-r--r--WebCore/bridge/jni/JNIUtility.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bridge/jni/JNIUtility.cpp b/WebCore/bridge/jni/JNIUtility.cpp
index ee45710..e558955 100644
--- a/WebCore/bridge/jni/JNIUtility.cpp
+++ b/WebCore/bridge/jni/JNIUtility.cpp
@@ -283,7 +283,7 @@ jvalue getJNIField(jobject obj, JNIType type, const char* name, const char* sign
JNIEnv* env = getJNIEnv();
jvalue result;
- bzero(&result, sizeof(jvalue));
+ memset(&result, 0, sizeof(jvalue));
if (obj && jvm && env) {
jclass cls = env->GetObjectClass(obj);
if (cls) {