diff options
-rw-r--r-- | src/osmo-bts-trx/scheduler_trx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c index b54c35b5..07ee9da8 100644 --- a/src/osmo-bts-trx/scheduler_trx.c +++ b/src/osmo-bts-trx/scheduler_trx.c @@ -292,7 +292,7 @@ got_msg: /* check validity of message */ if (rc < 0) { LOGL1S(DL1P, LOGL_FATAL, l1t, tn, chan, fn, "Prim invalid length, please FIX! " - "(len=%ld)\n", msg->tail - msg->l2h); + "(len=%ld)\n", (long)(msg->tail - msg->l2h)); /* free message */ msgb_free(msg); goto no_msg; |