~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_dspace.c

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
*/
191
191
 
192
192
static unsigned char *hp_allocate_variable_chunkset(HP_DATASPACE *info,
193
 
                                           uint chunk_count, unsigned char* existing_set)
 
193
                                           uint32_t chunk_count, unsigned char* existing_set)
194
194
{
195
195
  int alloc_count= chunk_count, i;
196
196
  unsigned char *first_chunk= 0, *curr_chunk= 0, *prev_chunk= 0, *last_existing_chunk= 0;
287
287
  @return  Pointer to the first chunk in the new or updated chunkset, or NULL if unsuccessful
288
288
*/
289
289
 
290
 
unsigned char *hp_allocate_chunkset(HP_DATASPACE *info, uint chunk_count)
 
290
unsigned char *hp_allocate_chunkset(HP_DATASPACE *info, uint32_t chunk_count)
291
291
{
292
292
  unsigned char* result;
293
293
 
323
323
  @return  Error code or zero if successful
324
324
*/
325
325
 
326
 
int hp_reallocate_chunkset(HP_DATASPACE *info, uint chunk_count, unsigned char* pos)
 
326
int hp_reallocate_chunkset(HP_DATASPACE *info, uint32_t chunk_count, unsigned char* pos)
327
327
{
328
328
 
329
329
  if (!info->is_variable_size)