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

Unified Diff: remoting/host/audio_capturer_linux.cc

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « remoting/host/audio_capturer_linux.h ('k') | remoting/host/audio_capturer_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/audio_capturer_linux.cc
diff --git a/remoting/host/audio_capturer_linux.cc b/remoting/host/audio_capturer_linux.cc
index 8980a8dbe4b5b6160d5476569b978664130ba17c..64a7846a3c56f93ccc0cfeaef946950fec06de56 100644
--- a/remoting/host/audio_capturer_linux.cc
+++ b/remoting/host/audio_capturer_linux.cc
@@ -4,6 +4,8 @@
#include "remoting/host/audio_capturer_linux.h"
+#include <stdint.h>
+
#include "base/files/file_path.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
@@ -53,8 +55,8 @@ void AudioCapturerLinux::OnDataRead(
DCHECK(!callback_.is_null());
if (silence_detector_.IsSilence(
- reinterpret_cast<const int16*>(data->data().data()),
- data->data().size() / sizeof(int16))) {
+ reinterpret_cast<const int16_t*>(data->data().data()),
+ data->data().size() / sizeof(int16_t))) {
return;
}
« no previous file with comments | « remoting/host/audio_capturer_linux.h ('k') | remoting/host/audio_capturer_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698