aboutsummaryrefslogtreecommitdiffstats
path: root/tests/emu/pcu_emu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/emu/pcu_emu.cpp')
-rw-r--r--tests/emu/pcu_emu.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/emu/pcu_emu.cpp b/tests/emu/pcu_emu.cpp
index 3dfa64dc..3725c8d9 100644
--- a/tests/emu/pcu_emu.cpp
+++ b/tests/emu/pcu_emu.cpp
@@ -35,7 +35,7 @@ extern "C" {
#include <sys/types.h>
#include <sys/socket.h>
-static int current_test;
+static size_t current_test;
/* Extern data to please the underlying code */
void *tall_pcu_ctx;
@@ -115,6 +115,8 @@ int main(int argc, char **argv)
vty_init(&pcu_vty_info);
pcu_vty_init(&gprs_log_info);
+ current_test = 0;
+
init_main_bts();
create_and_connect_bssgp(bts_main_data(), INADDR_LOOPBACK, 23000);