]> Zhao Yanbai Git Server - minix.git/commitdiff
fix compiler warning due to const char * -> char *
authorBen Gras <ben@minix3.org>
Mon, 5 Oct 2009 16:38:12 +0000 (16:38 +0000)
committerBen Gras <ben@minix3.org>
Mon, 5 Oct 2009 16:38:12 +0000 (16:38 +0000)
lib/other/minix_rs.c

index cba0c5a0a066d81ee724336b696cfeabfa1ac94c..1361567cc8d800ffddeb694675f255f4390705bd 100644 (file)
@@ -25,7 +25,7 @@ int minix_rs_lookup(const char *name, endpoint_t *value)
 
        len_key = strlen(name)+1;
 
-       m.RS_NAME = name;
+       m.RS_NAME = (char *) name;
        m.RS_NAME_LEN = len_key;
 
        r = _taskcall(RS_PROC_NR, RS_LOOKUP, &m);