Skip to content

Commit 7c0f282

Browse files
gkastenAndroid (Google) Code Review
authored andcommitted
Merge "Fix build warnings"
2 parents 08135cb + 597f828 commit 7c0f282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

voip/jni/rtp/AudioGroup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ void add(JNIEnv *env, jobject thiz, jint mode,
10081008
delete stream;
10091009
delete codec;
10101010
close(socket);
1011-
env->SetIntField(thiz, gNative, NULL);
1011+
env->SetIntField(thiz, gNative, 0);
10121012
}
10131013

10141014
void remove(JNIEnv *env, jobject thiz, jint socket)
@@ -1017,7 +1017,7 @@ void remove(JNIEnv *env, jobject thiz, jint socket)
10171017
if (group) {
10181018
if (socket == -1 || !group->remove(socket)) {
10191019
delete group;
1020-
env->SetIntField(thiz, gNative, NULL);
1020+
env->SetIntField(thiz, gNative, 0);
10211021
}
10221022
}
10231023
}

0 commit comments

Comments
 (0)