From 7671365c9293616da2b5847e15e083724542504e Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 13 Apr 2018 20:22:12 +0300 Subject: [PATCH] Rename _alloca back to alloca --- engine/common/common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/common/common.c b/engine/common/common.c index 45ebba93..b1fc6e10 100644 --- a/engine/common/common.c +++ b/engine/common/common.c @@ -259,9 +259,9 @@ byte *LZSS_CompressNoAlloc( lzss_state_t *state, byte *pInput, int input_length, header->size = input_length; // create the compression work buffers, small enough (~64K) for stack - state->hash_table = (lzss_list_t *)_alloca( 256 * sizeof( lzss_list_t )); + state->hash_table = (lzss_list_t *)alloca( 256 * sizeof( lzss_list_t )); memset( state->hash_table, 0, 256 * sizeof( lzss_list_t )); - state->hash_node = (lzss_node_t *)_alloca( state->window_size * sizeof( lzss_node_t )); + state->hash_node = (lzss_node_t *)alloca( state->window_size * sizeof( lzss_node_t )); memset( state->hash_node, 0, state->window_size * sizeof( lzss_node_t )); while( input_length > 0 ) @@ -1320,4 +1320,4 @@ qboolean COM_IsSafeFileToDownload( const char *filename ) } return true; -} \ No newline at end of file +}