1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-13 17:18:32 +03:00

cov: cast to uint32

This commit is contained in:
Zdenek Kabelac 2024-03-29 00:32:37 +01:00
parent a98709aeae
commit eba277bca8

View File

@ -1680,7 +1680,7 @@ static int _do_process_request(struct dm_event_daemon_message *msg)
} else
ret = _handle_request(msg, &message_data);
msg->cmd = ret;
msg->cmd = (uint32_t)ret;
if (!msg->data)
msg->size = dm_asprintf(&(msg->data), "%s %s", message_data.id, strerror(-ret));