Use uint8_t* for BS buffers in OSD

This commit is contained in:
Vitaliy Filippov
2025-07-26 14:13:12 +03:00
parent 488e20bf55
commit 78c95c94f6
3 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -161,8 +161,8 @@ void osd_t::exec_secondary_real(osd_op_t *cur_op)
cur_op->bs_op->version = cur_op->req.sec_rw.version;
cur_op->bs_op->offset = cur_op->req.sec_rw.offset;
cur_op->bs_op->len = cur_op->req.sec_rw.len;
cur_op->bs_op->buf = cur_op->buf;
cur_op->bs_op->bitmap = cur_op->bitmap;
cur_op->bs_op->buf = (uint8_t*)cur_op->buf;
cur_op->bs_op->bitmap = (uint8_t*)cur_op->bitmap;
#ifdef OSD_STUB
cur_op->bs_op->retval = cur_op->bs_op->len;
#endif
@@ -186,7 +186,7 @@ void osd_t::exec_secondary_real(osd_op_t *cur_op)
cur_op->req.hdr.opcode == OSD_OP_SEC_ROLLBACK)
{
cur_op->bs_op->len = cur_op->req.sec_stab.len/sizeof(obj_ver_id);
cur_op->bs_op->buf = cur_op->buf;
cur_op->bs_op->buf = (uint8_t*)cur_op->buf;
#ifdef OSD_STUB
cur_op->bs_op->retval = 0;
#endif