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

Unified Diff: components/copresence/test/audio_test_support.h

Issue 902493004: Fixing rand_r memory error (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | components/copresence/test/audio_test_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/copresence/test/audio_test_support.h
diff --git a/components/copresence/test/audio_test_support.h b/components/copresence/test/audio_test_support.h
index 205577b8df5e0bb5ecf6592fbe739b4c297561e2..baae22d3012db75b01d80b1eb4d385f81ddcdf7a 100644
--- a/components/copresence/test/audio_test_support.h
+++ b/components/copresence/test/audio_test_support.h
@@ -18,7 +18,7 @@ class AudioBusRefCounted;
namespace copresence {
// Populate random samples given a random seed into the samples array.
-void PopulateSamples(int random_seed, size_t size, float* samples);
+void PopulateSamples(unsigned int random_seed, size_t size, float* samples);
// Create an ref counted audio bus populated with random samples.
scoped_refptr<media::AudioBusRefCounted>
« no previous file with comments | « no previous file | components/copresence/test/audio_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698