From 7c957b601f7aeabc537519597057e63f2ae60320 Mon Sep 17 00:00:00 2001 From: Andreas Fritiofson Date: Sun, 13 Dec 2015 22:18:14 +0100 Subject: jim-nvp: Make Jim_GetOpt_String const-correct Change-Id: Iae9824f6ff47a1944e674e59bfaa970904645082 Signed-off-by: Andreas Fritiofson Reviewed-on: http://openocd.zylin.com/3178 Tested-by: jenkins --- src/rtos/rtos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rtos') diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c index 528546e..a84e6e0 100644 --- a/src/rtos/rtos.c +++ b/src/rtos/rtos.c @@ -104,7 +104,7 @@ static int os_alloc_create(struct target *target, struct rtos_type *ostype) int rtos_create(Jim_GetOptInfo *goi, struct target *target) { int x; - char *cp; + const char *cp; struct Jim_Obj *res; if (!goi->isconfigure && goi->argc != 0) { -- cgit v1.1