From 477f35e78c81012bac4c724faf6ae1ef7f840398 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 7 Nov 2011 14:07:55 +0100 Subject: sysmo-bts: Use the z modifier to print the result of sizeof --- src/osmo-bts-sysmo/l1_fwd_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/osmo-bts-sysmo/l1_fwd_main.c') diff --git a/src/osmo-bts-sysmo/l1_fwd_main.c b/src/osmo-bts-sysmo/l1_fwd_main.c index 2f9bf217..23d2a39c 100644 --- a/src/osmo-bts-sysmo/l1_fwd_main.c +++ b/src/osmo-bts-sysmo/l1_fwd_main.c @@ -155,8 +155,8 @@ int main(int argc, char **argv) struct femtol1_hdl *fl1h; int rc, i; - printf("sizeof(GsmL1_Prim_t) = %lu\n", sizeof(GsmL1_Prim_t)); - printf("sizeof(FemtoBts_Prim_t) = %lu\n", sizeof(FemtoBts_Prim_t)); + printf("sizeof(GsmL1_Prim_t) = %zu\n", sizeof(GsmL1_Prim_t)); + printf("sizeof(FemtoBts_Prim_t) = %zu\n", sizeof(FemtoBts_Prim_t)); bts_log_init(NULL); -- cgit v1.2.3