From dfecb14c70ff335670af4413985459fcd71405f0 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 3 Jun 2005 14:15:14 +0000 Subject: [PATCH] fix a cast warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5390 d7cf8633-e32d-0410-b094-e92efae38249 --- prvm_edict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prvm_edict.c b/prvm_edict.c index 11c9dd19..81822b9f 100644 --- a/prvm_edict.c +++ b/prvm_edict.c @@ -1864,7 +1864,7 @@ int PRVM_AllocString(int bufferlength, char **pointer) } prog->numknownstrings++; } - (char *)(prog->knownstrings[i]) = PRVM_Alloc(bufferlength); + prog->knownstrings[i] = PRVM_Alloc(bufferlength); if (pointer) *pointer = (char *)(prog->knownstrings[i]); return -1 - i; -- 2.39.2