Fix warnings.
authorDavid Given <dg@cowlark.com>
Mon, 12 Dec 2016 22:53:33 +0000 (23:53 +0100)
committerDavid Given <dg@cowlark.com>
Mon, 12 Dec 2016 22:53:33 +0000 (23:53 +0100)
mach/proto/mcg/parse_em.c

index b66b177..d4bdeed 100644 (file)
@@ -237,7 +237,7 @@ static void parse_pseu(void)
                 }
 
                                case str_ptyp:
-                    data_block(strdup(em.em_string), em.em_size, ro);
+                    data_block((const uint8_t*) strdup(em.em_string), em.em_size, ro);
                                        break;
 
                 case cst_ptyp: