mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-02 22:52:26 +00:00
server: Fix a pointer to uint64_t cast in spice_replay_next_cmd()
This avoids a compilation error with -Werror on 32 bit systems as the pointer size differs from that of an uint64_t. Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
This commit is contained in:
parent
77830036e2
commit
e617a59969
@ -1156,7 +1156,7 @@ SPICE_GNUC_VISIBLE QXLCommandExt* spice_replay_next_cmd(SpiceReplay *replay,
|
||||
case QXL_CMD_UPDATE:
|
||||
case QXL_CMD_SURFACE:
|
||||
info = (QXLReleaseInfo *)cmd->cmd.data;
|
||||
info->id = (uint64_t)cmd;
|
||||
info->id = (uint64_t)(uintptr_t)cmd;
|
||||
}
|
||||
|
||||
replay->counter++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user