aboutsummaryrefslogtreecommitdiff
path: root/src/unittest
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2017-04-29 14:36:55 +0200
committerSmallJoker <mk939@ymail.com>2017-04-29 16:40:56 +0200
commitf727f54192644f6427ac1b2c86df8c64c7c5fdf0 (patch)
tree47e0b4f9c15ce7274e0d0702d60ca83e4663cc08 /src/unittest
parent9762650f978cc7bae78861b70a051b26cc5e2dc6 (diff)
downloadminetest-f727f54192644f6427ac1b2c86df8c64c7c5fdf0.tar.gz
minetest-f727f54192644f6427ac1b2c86df8c64c7c5fdf0.tar.bz2
minetest-f727f54192644f6427ac1b2c86df8c64c7c5fdf0.zip
Fix Travis/unittest broken since b662a45
Diffstat (limited to 'src/unittest')
-rw-r--r--src/unittest/test_connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittest/test_connection.cpp b/src/unittest/test_connection.cpp
index 49e412fc8..d63322d69 100644
--- a/src/unittest/test_connection.cpp
+++ b/src/unittest/test_connection.cpp
@@ -305,7 +305,7 @@ void TestConnection::testConnectSendReceive()
u16 peer_id = 132;
u16 size = 0;
bool received = false;
- u32 timems0 = porting::getTimeMs();
+ u64 timems0 = porting::getTimeMs();
for (;;) {
if (porting::getTimeMs() - timems0 > 5000 || received)
break;