[svn-r12877] Description:
Clean up more compiler warnings.
Tested on:
Linux/64 2.6 (chicago2)
This commit is contained in:
@@ -167,7 +167,7 @@ HDfprintf(stderr, "%s: off = %Hu\n", "H5HF_dtable_lookup", off);
|
||||
/* Check for offset in first row */
|
||||
if(off < dtable->num_id_first_row) {
|
||||
*row = 0;
|
||||
*col = off / dtable->cparam.start_block_size;
|
||||
H5_ASSIGN_OVERFLOW(/* To: */ *col, /* From: */ (off / dtable->cparam.start_block_size), /* From: */ hsize_t, /* To: */ unsigned);
|
||||
} /* end if */
|
||||
else {
|
||||
unsigned high_bit = H5V_log2_gen(off); /* Determine the high bit in the offset */
|
||||
@@ -177,7 +177,7 @@ HDfprintf(stderr, "%s: off = %Hu\n", "H5HF_dtable_lookup", off);
|
||||
HDfprintf(stderr, "%s: high_bit = %u, off_mask = %Hu\n", "H5HF_dtable_lookup", high_bit, off_mask);
|
||||
#endif /* QAK */
|
||||
*row = (high_bit - dtable->first_row_bits) + 1;
|
||||
*col = (off - off_mask) / dtable->row_block_size[*row];
|
||||
H5_ASSIGN_OVERFLOW(/* To: */ *col, /* From: */ ((off - off_mask) / dtable->row_block_size[*row]), /* From: */ hsize_t, /* To: */ unsigned);
|
||||
} /* end else */
|
||||
|
||||
FUNC_LEAVE_NOAPI(SUCCEED)
|
||||
|
||||
Reference in New Issue
Block a user