Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: media/base/audio_bus.h

Issue 12043004: Fix media/base 64-bit compilation issues (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/base/audio_bus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_bus.h
===================================================================
--- media/base/audio_bus.h (revision 177892)
+++ media/base/audio_bus.h (working copy)
@@ -83,7 +83,7 @@
const float* channel(int channel) const { return channel_data_[channel]; }
void SetChannelData(int channel, float* data);
- int channels() const { return channel_data_.size(); }
+ int channels() const { return static_cast<int>(channel_data_.size()); }
int frames() const { return frames_; }
void set_frames(int frames);
« no previous file with comments | « no previous file | media/base/audio_bus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698