From: Ben Gras Date: Mon, 5 Oct 2009 16:38:12 +0000 (+0000) Subject: fix compiler warning due to const char * -> char * X-Git-Tag: v3.1.5~27 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=1a85c6be7870b3e855925d741d7812628a4d1021;p=minix.git fix compiler warning due to const char * -> char * --- diff --git a/lib/other/minix_rs.c b/lib/other/minix_rs.c index cba0c5a0a..1361567cc 100644 --- a/lib/other/minix_rs.c +++ b/lib/other/minix_rs.c @@ -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);