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

Unified Diff: media/audio/mac/audio_manager_mac.cc

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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
Index: media/audio/mac/audio_manager_mac.cc
diff --git a/media/audio/mac/audio_manager_mac.cc b/media/audio/mac/audio_manager_mac.cc
index 62a66f0715c47153973a3c885b3485fbdca4c747..16490f2e147376e5901a72eb485ef244b441415a 100644
--- a/media/audio/mac/audio_manager_mac.cc
+++ b/media/audio/mac/audio_manager_mac.cc
@@ -4,7 +4,6 @@
#include "media/audio/mac/audio_manager_mac.h"
-
#include "base/bind.h"
#include "base/command_line.h"
#include "base/mac/mac_logging.h"
@@ -429,7 +428,7 @@ bool AudioManagerMac::GetDeviceChannels(AudioDeviceID device,
return false;
// Allocate storage.
- scoped_ptr<uint8[]> list_storage(new uint8[size]);
+ scoped_ptr<uint8_t[]> list_storage(new uint8_t[size]);
AudioBufferList& buffer_list =
*reinterpret_cast<AudioBufferList*>(list_storage.get());

Powered by Google App Engine
This is Rietveld 408576698