~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_block.c

Merged uint fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 
57
57
int hp_get_new_block(HP_BLOCK *block, size_t *alloc_length)
58
58
{
59
 
  register uint i,j;
 
59
  register uint32_t i,j;
60
60
  HP_PTRS *root;
61
61
 
62
62
  for (i=0 ; i < block->levels ; i++)
123
123
 
124
124
        /* free all blocks under level */
125
125
 
126
 
unsigned char *hp_free_level(HP_BLOCK *block, uint level, HP_PTRS *pos, unsigned char *last_pos)
 
126
unsigned char *hp_free_level(HP_BLOCK *block, uint32_t level, HP_PTRS *pos, unsigned char *last_pos)
127
127
{
128
128
  int i,max_pos;
129
129
  unsigned char *next_ptr;