int32_array = (int32 *) malloc(size);
int32_array = (int32 *) malloc((size_t)size);
GenData(int32 num){	int32 n;	static DBT *data=0;	int32 *int32_array;	int32 size;	if(!data)	  {		data = (DBT*)malloc(sizeof(DBT));		data->size = 0;		data->data = 0;	  }	else if(data->data)	  {		free(data->data);	  }	n = rand();	n = n % 512;  /* bound to a 2K size */		size = sizeof(int32)*(n+1);	int32_array = (int32 *) malloc(size);	memcpy(&int32_array[0], &n, sizeof(int32));	for(; n > 0; n--)	  {		memcpy(&int32_array[n], &num, sizeof(int32));	  }	data->data = (void*)int32_array;	data->size = size;	return(data);}