X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=osl_core.h;fp=osl_core.h;h=295351fecf72a8474c200dd8ded8305a07d4308e;hp=27b808a7dfbf415efec209c86e09128569b94000;hb=5129488b99c3d3796752a380a987c74d041dffe8;hpb=f6f50d03a09d6bc423324206d274336e9905bbb4 diff --git a/osl_core.h b/osl_core.h index 27b808a7..295351fe 100644 --- a/osl_core.h +++ b/osl_core.h @@ -250,7 +250,7 @@ _static_inline_ char *column_filename(const struct osl_table *t, unsigned col_nu * \sa get_index_entry(). */ _static_inline_ int get_index_entry_start(const struct osl_table *t, uint32_t row_num, - unsigned char **index_entry) + char **index_entry) { uint32_t index_offset; index_offset = t->index_header_size + t->index_entry_size * row_num; @@ -258,7 +258,7 @@ _static_inline_ int get_index_entry_start(const struct osl_table *t, uint32_t ro *index_entry = NULL; return -E_INDEX_CORRUPTION; } - *index_entry = (unsigned char *)(t->index_map.data) + index_offset; + *index_entry = (char *)(t->index_map.data) + index_offset; return 1; } @@ -275,7 +275,7 @@ _static_inline_ int get_index_entry_start(const struct osl_table *t, uint32_t ro * \sa get_index_entry_start(). */ _static_inline_ int get_index_entry(const struct osl_table *t, uint32_t row_num, - uint32_t col_num, unsigned char **index_entry) + uint32_t col_num, char **index_entry) { int ret = get_index_entry_start(t, row_num, index_entry); if (ret < 0)