Rename _alloca back to alloca

This commit is contained in:
Alibek Omarov 2018-04-13 20:22:12 +03:00
parent f7a58ec04d
commit 7671365c92
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}