summaryrefslogtreecommitdiffstats
path: root/openbsc/tests/gsm0408/gsm0408_test.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-04-18 17:04:00 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-04-18 17:31:39 +0200
commitc42ad8b68619b58bfbc98a0409d74a86b603aebf (patch)
treeac806f2e5657c405471165ed842b78b170f76def /openbsc/tests/gsm0408/gsm0408_test.c
parent5cde92cb0e447ef9d415918c5194c3e65282ab28 (diff)
misc: Move from u_int to uint types of stdint.h
This was done with sed on the files.
Diffstat (limited to 'openbsc/tests/gsm0408/gsm0408_test.c')
-rw-r--r--openbsc/tests/gsm0408/gsm0408_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/tests/gsm0408/gsm0408_test.c b/openbsc/tests/gsm0408/gsm0408_test.c
index e8998c375..46e93b838 100644
--- a/openbsc/tests/gsm0408/gsm0408_test.c
+++ b/openbsc/tests/gsm0408/gsm0408_test.c
@@ -70,8 +70,8 @@ static void test_mi_functionality(void)
{
const char *imsi_odd = "987654321098763";
const char *imsi_even = "9876543210987654";
- const u_int32_t tmsi = 0xfabeacd0;
- u_int8_t mi[128];
+ const uint32_t tmsi = 0xfabeacd0;
+ uint8_t mi[128];
unsigned int mi_len;
char mi_parsed[GSM48_MI_SIZE];
@@ -80,7 +80,7 @@ static void test_mi_functionality(void)
/* tmsi code */
mi_len = gsm48_generate_mid_from_tmsi(mi, tmsi);
gsm48_mi_to_string(mi_parsed, sizeof(mi_parsed), mi + 2, mi_len - 2);
- COMPARE((u_int32_t)strtoul(mi_parsed, NULL, 10), ==, tmsi);
+ COMPARE((uint32_t)strtoul(mi_parsed, NULL, 10), ==, tmsi);
/* imsi code */
mi_len = gsm48_generate_mid_from_imsi(mi, imsi_odd);