diff options
author | Glenn Kasten <gkasten@google.com> | 2012-11-14 08:32:08 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-11-14 11:12:07 -0800 |
commit | 98d9922247ef21b0faf8c7d817650b8327052a4a (patch) | |
tree | b3442f0d03184e0da4921f7fa2a5ed87fbac20c6 /media | |
parent | 17158f4a36ed16c779477a56ec831da55e8128fe (diff) | |
download | frameworks_av-98d9922247ef21b0faf8c7d817650b8327052a4a.zip frameworks_av-98d9922247ef21b0faf8c7d817650b8327052a4a.tar.gz frameworks_av-98d9922247ef21b0faf8c7d817650b8327052a4a.tar.bz2 |
Fix build warnings
Change-Id: Ic43bcca166a529a6431711b05a7fa21849b6a38b
Diffstat (limited to 'media')
-rw-r--r-- | media/libmedia/IAudioFlinger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmedia/IAudioFlinger.cpp b/media/libmedia/IAudioFlinger.cpp index bb936ec..55658db 100644 --- a/media/libmedia/IAudioFlinger.cpp +++ b/media/libmedia/IAudioFlinger.cpp @@ -106,7 +106,7 @@ public: data.writeInt32(format); data.writeInt32(channelMask); data.writeInt32(frameCount); - track_flags_t lFlags = flags != NULL ? *flags : TRACK_DEFAULT; + track_flags_t lFlags = flags != NULL ? *flags : (track_flags_t) TRACK_DEFAULT; data.writeInt32(lFlags); data.writeStrongBinder(sharedBuffer->asBinder()); data.writeInt32((int32_t) output); |