summaryrefslogtreecommitdiffstats
path: root/voip
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-12 09:44:38 -0800
committerGlenn Kasten <gkasten@google.com>2012-01-17 11:57:27 -0800
commit597f8282ee1b86ba8f7384eb3060bac3b3f7cf92 (patch)
tree4c440b6de0476a6b9a6e9e7f46db645706839324 /voip
parentfb6b5bdcea04c1fa6ccd046373f5ad3a62784713 (diff)
downloadframeworks_base-597f8282ee1b86ba8f7384eb3060bac3b3f7cf92.zip
frameworks_base-597f8282ee1b86ba8f7384eb3060bac3b3f7cf92.tar.gz
frameworks_base-597f8282ee1b86ba8f7384eb3060bac3b3f7cf92.tar.bz2
Fix build warnings
Change-Id: I543e730aff2d03c18c26b116c9fe9419259808af
Diffstat (limited to 'voip')
-rw-r--r--voip/jni/rtp/AudioGroup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/voip/jni/rtp/AudioGroup.cpp b/voip/jni/rtp/AudioGroup.cpp
index 4db5738..1139577 100644
--- a/voip/jni/rtp/AudioGroup.cpp
+++ b/voip/jni/rtp/AudioGroup.cpp
@@ -1008,7 +1008,7 @@ error:
delete stream;
delete codec;
close(socket);
- env->SetIntField(thiz, gNative, NULL);
+ env->SetIntField(thiz, gNative, 0);
}
void remove(JNIEnv *env, jobject thiz, jint socket)
@@ -1017,7 +1017,7 @@ void remove(JNIEnv *env, jobject thiz, jint socket)
if (group) {
if (socket == -1 || !group->remove(socket)) {
delete group;
- env->SetIntField(thiz, gNative, NULL);
+ env->SetIntField(thiz, gNative, 0);
}
}
}