diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-04-14 18:07:35 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-04-14 18:07:35 +0000 |
commit | 29fe1ea4b5a1d1fc1fb87b53866901357c04c5c1 (patch) | |
tree | 815e0a3c1225770e29b6e72d7005737d1c9e398d /media/common_time/utils.cpp | |
parent | b1b1e303d93a5c67eedeca6ef3039be6cb4dc9f9 (diff) | |
parent | 9829344d526f87ca745208f04216ec795b239581 (diff) | |
download | frameworks_av-29fe1ea4b5a1d1fc1fb87b53866901357c04c5c1.zip frameworks_av-29fe1ea4b5a1d1fc1fb87b53866901357c04c5c1.tar.gz frameworks_av-29fe1ea4b5a1d1fc1fb87b53866901357c04c5c1.tar.bz2 |
am 9829344d: Merge "media: memset sizeof argument issues"
* commit '9829344d526f87ca745208f04216ec795b239581':
media: memset sizeof argument issues
Diffstat (limited to 'media/common_time/utils.cpp')
-rw-r--r-- | media/common_time/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/common_time/utils.cpp b/media/common_time/utils.cpp index 6539171..91cf2fd 100644 --- a/media/common_time/utils.cpp +++ b/media/common_time/utils.cpp @@ -59,7 +59,7 @@ void serializeSockaddr(Parcel* p, const struct sockaddr_storage* addr) { } void deserializeSockaddr(const Parcel* p, struct sockaddr_storage* addr) { - memset(addr, 0, sizeof(addr)); + memset(addr, 0, sizeof(*addr)); addr->ss_family = p->readInt32(); switch(addr->ss_family) { |