public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f36437c
)
Fix warnings.
author
David Given
<dg@cowlark.com>
Mon, 12 Dec 2016 22:53:33 +0000
(23:53 +0100)
committer
David Given
<dg@cowlark.com>
Mon, 12 Dec 2016 22:53:33 +0000
(23:53 +0100)
mach/proto/mcg/parse_em.c
patch
|
blob
|
history
diff --git
a/mach/proto/mcg/parse_em.c
b/mach/proto/mcg/parse_em.c
index
b66b177
..
d4bdeed
100644
(file)
--- a/
mach/proto/mcg/parse_em.c
+++ b/
mach/proto/mcg/parse_em.c
@@
-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: