| Index: remoting/host/host_secret.cc
|
| diff --git a/remoting/host/host_secret.cc b/remoting/host/host_secret.cc
|
| index 7ec752f4c0eead6692deef0190fc35ca0b44c171..e4e1dfe0ad54ec357fbd71007eed2e033b0e9e68 100644
|
| --- a/remoting/host/host_secret.cc
|
| +++ b/remoting/host/host_secret.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "remoting/host/host_secret.h"
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <string>
|
|
|
| #include "base/logging.h"
|
| @@ -22,7 +24,7 @@ const char kHostSecretAlphabet[] = "0123456789";
|
|
|
| // Generates cryptographically strong random number in the range [0, max).
|
| int CryptoRandomInt(int max) {
|
| - uint32 random_int32;
|
| + uint32_t random_int32;
|
| base::RandBytes(&random_int32, sizeof(random_int32));
|
| return random_int32 % max;
|
| }
|
|
|