[Spice-commits] server/red-replay-qxl.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Thu Feb 25 09:19:34 UTC 2016


 server/red-replay-qxl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f7bc8c0cd9a6bb14027b002a08e069e21d031451
Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Feb 25 09:17:59 2016 +0000

    server: Remove an unnecessary cast in spice_replay_next_cmd()
    
    Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/server/red-replay-qxl.c b/server/red-replay-qxl.c
index 17ee022..281bc7a 100644
--- a/server/red-replay-qxl.c
+++ b/server/red-replay-qxl.c
@@ -1156,7 +1156,7 @@ SPICE_GNUC_VISIBLE QXLCommandExt* spice_replay_next_cmd(SpiceReplay *replay,
     case QXL_CMD_UPDATE:
     case QXL_CMD_SURFACE:
         info = QXLPHYSICAL_TO_PTR(cmd->cmd.data);
-        info->id = (uint64_t)(uintptr_t)cmd;
+        info->id = (uintptr_t)cmd;
     }
 
     replay->counter++;


More information about the Spice-commits mailing list