From: Dale Weiler Date: Mon, 25 Nov 2013 18:30:45 +0000 (-0500) Subject: Only g++ is this retarded X-Git-Tag: xonotic-v0.8.0~55 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=25e86c04eb1b35493c08d17ad260bc74e2effbbb Only g++ is this retarded --- diff --git a/parser.c b/parser.c index 0dda359..8c1ba34 100644 --- a/parser.c +++ b/parser.c @@ -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'", diff --git a/stat.c b/stat.c index e46102d..6987cf7 100644 --- a/stat.c +++ b/stat.c @@ -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;