From: batt Date: Tue, 29 Sep 2009 08:58:37 +0000 (+0000) Subject: Fix warning. X-Git-Tag: 2.3.0~93 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=babce1b7210691909e160c9cc2f653875bbf556b;p=bertos.git Fix warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2987 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/net/ax25_test.c b/bertos/net/ax25_test.c index b623f7e0..31a7ed36 100644 --- a/bertos/net/ax25_test.c +++ b/bertos/net/ax25_test.c @@ -66,7 +66,7 @@ static void msg_callback(AX25Msg *msg) ASSERT(msg->ctrl == AX25_CTRL_UI); ASSERT(msg->pid == AX25_PID_NOLAYER3); ASSERT(msg->len == 30); - ASSERT(strncmp((char *)msg->info, "=4603.63N/01431.26E-Op. Andrej", 30) == 0); + ASSERT(strncmp((const char *)msg->info, "=4603.63N/01431.26E-Op. Andrej", 30) == 0); } int ax25_testSetup(void)