summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2013-05-17 10:36:30 -0400
committerAlon Levy <alevy@redhat.com>2013-05-17 11:06:34 -0400
commit5170589c21f183b5eee13b1eab5e37793f5426e3 (patch)
tree052c94e467db93c5ba8dc01fba73374e1a53f633
parente9cf575938df398d38d36cfb96213cc98fb8daf7 (diff)
downloadspice-5170589c21f183b5eee13b1eab5e37793f5426e3.zip
spice-5170589c21f183b5eee13b1eab5e37793f5426e3.tar.gz
spice-5170589c21f183b5eee13b1eab5e37793f5426e3.tar.xz
server/red_parse_qxl: two coding convention pointer cast fix
-rw-r--r--server/red_parse_qxl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/red_parse_qxl.c b/server/red_parse_qxl.c
index 4b39029..65781e7 100644
--- a/server/red_parse_qxl.c
+++ b/server/red_parse_qxl.c
@@ -104,7 +104,7 @@ static size_t red_get_data_chunks_ptr(RedMemSlotInfo *slots, int group_id,
red_prev = red;
red = spice_new(RedDataChunk, 1);
memslot_id = get_memslot_id(slots, qxl->next_chunk);
- qxl = (QXLDataChunk*)get_virt(slots, qxl->next_chunk, sizeof(*qxl), group_id,
+ qxl = (QXLDataChunk *)get_virt(slots, qxl->next_chunk, sizeof(*qxl), group_id,
&error);
if (error) {
return 0;
@@ -130,7 +130,7 @@ static size_t red_get_data_chunks(RedMemSlotInfo *slots, int group_id,
int error;
int memslot_id = get_memslot_id(slots, addr);
- qxl = (QXLDataChunk*)get_virt(slots, addr, sizeof(*qxl), group_id, &error);
+ qxl = (QXLDataChunk *)get_virt(slots, addr, sizeof(*qxl), group_id, &error);
if (error) {
return 0;
}