summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/socket_test_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux/socket_test_util.cc')
-rw-r--r--test/syscalls/linux/socket_test_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/socket_test_util.cc b/test/syscalls/linux/socket_test_util.cc
index eff7d577e..2169ff1c6 100644
--- a/test/syscalls/linux/socket_test_util.cc
+++ b/test/syscalls/linux/socket_test_util.cc
@@ -507,7 +507,7 @@ void TransferTest(int fd1, int fd2) {
// Initializes the given buffer with random data.
void RandomizeBuffer(char* ptr, size_t len) {
- uint32_t seed = time(nullptr);
+ uint32 seed = time(nullptr);
for (size_t i = 0; i < len; ++i) {
ptr[i] = static_cast<char>(rand_r(&seed));
}