Only g++ is this retarded

This commit is contained in:
Dale Weiler 2013-11-25 13:30:45 -05:00
parent f19d32b29b
commit 25e86c04eb
2 changed files with 2 additions and 2 deletions

View file

@ -1590,7 +1590,7 @@ static bool parse_sya_operand(parser_t *parser, shunt *sy, bool with_labels)
*/
if (!var) {
if ((var = intrin_func(parser->intrin, parser_tokval(parser)))) {
(void)!!compile_warning(
(void)!!!compile_warning(
parser_ctx(parser),
WARN_BUILTINS,
"using implicitly defined builtin `__builtin_%s' for `%s'",

2
stat.c
View file

@ -685,7 +685,7 @@ void util_htdel(hash_table_t *ht) {
* information.
*/
static void stat_dump_mem_contents(stat_mem_block_t *block, uint16_t cols) {
unsigned char *buffer = mem_a(cols);
unsigned char *buffer = (unsigned char *)mem_a(cols);
unsigned char *memory = (unsigned char *)(block + 1);
size_t i;