]> git.sur5r.net Git - openocd/blobdiff - src/rtos/rtos.c
jim-nvp: Make Jim_GetOpt_String const-correct
[openocd] / src / rtos / rtos.c
index 528546eaa3473f6700a3c1e442257e628df4d674..a84e6e0527fe19fd3f786a3982155ffdae6cfe62 100644 (file)
@@ -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) {