From 5d0fe4cea75e709a024653b9616c969a079f2d29 Mon Sep 17 00:00:00 2001 From: Raphael Defosseux Date: Wed, 28 Nov 2018 20:31:24 +0100 Subject: [PATCH] Fixing some compilation errors/warnings Signed-off-by: Raphael Defosseux --- openair2/RRC/LTE/MESSAGES/asn1_msg.c | 2 +- targets/RT/USER/lte-softmodem-common.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/openair2/RRC/LTE/MESSAGES/asn1_msg.c b/openair2/RRC/LTE/MESSAGES/asn1_msg.c index 3e8a30c3a4..6d831741c2 100644 --- a/openair2/RRC/LTE/MESSAGES/asn1_msg.c +++ b/openair2/RRC/LTE/MESSAGES/asn1_msg.c @@ -2350,7 +2350,7 @@ do_RRCConnectionReestablishment( return -1; } - LOG_D(RRC,"RRCConnectionReestablishment Encoded %zd bits (%zd bytes)\n", + LOG_D(RRC,"RRCConnectionReestablishment Encoded %u bits (%u bytes)\n", (uint32_t)enc_rval.encoded, (uint32_t)(enc_rval.encoded+7)/8); return((enc_rval.encoded+7)/8); } diff --git a/targets/RT/USER/lte-softmodem-common.c b/targets/RT/USER/lte-softmodem-common.c index 4eb0d3e888..c934084a43 100644 --- a/targets/RT/USER/lte-softmodem-common.c +++ b/targets/RT/USER/lte-softmodem-common.c @@ -49,6 +49,7 @@ softmodem_params_t* get_softmodem_params(void) { return &softmodem_params; } +#if 0 void set_parallel_conf(char *parallel_conf) { if(strcmp(parallel_conf,"PARALLEL_SINGLE_THREAD")==0) softmodem_params.thread_struct.parallel_conf = PARALLEL_SINGLE_THREAD; @@ -70,6 +71,7 @@ WORKER_CONF_t get_thread_worker_conf(void) { return softmodem_params.thread_struct.worker_conf; } +#endif void get_common_options(void) { char *parallel_config=NULL;