From 6a1b8e4ca79558e976a42646f027ddd0c8094d53 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 7 Feb 2013 11:42:21 +0000 Subject: [PATCH] fix a Mem_Alloc call that needs a type cast in C++ git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11890 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=62b25322a89903f93c7b7feec87023bd653db73c --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rmain.c b/gl_rmain.c index 5b816ae6..f0937df3 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -984,7 +984,7 @@ static char *R_ShaderStrCat(const char **strings) for (p = strings;(t = *p);p++) len += strlen(t); len++; - s = string = Mem_Alloc(r_main_mempool, len); + s = string = (char *)Mem_Alloc(r_main_mempool, len); len = 0; for (p = strings;(t = *p);p++) { -- 2.39.2