diff options
author | Søren Sandmann Pedersen <ssp@l3000.localdomain> | 2012-01-19 14:56:30 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@l3000.localdomain> | 2012-01-19 14:57:02 -0500 |
commit | 1b5a3f606a16fd704cdbd296b29f7dc89faf8471 (patch) | |
tree | 67ae3f3321671b8216b78fe29054ac2e4e413211 | |
parent | 8aad7d4d95cd095e8e11cabbfde10b5d3b755a72 (diff) |
Use u64_to_pointer() instead of a cast to void *
-rw-r--r-- | src/qxl_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qxl_image.c b/src/qxl_image.c index 2a9af56..0ffb031 100644 --- a/src/qxl_image.c +++ b/src/qxl_image.c @@ -317,7 +317,7 @@ qxl_image_destroy (qxl_screen_t *qxl, { struct QXLDataChunk *virtual; - virtual = virtual_address (qxl, (void *)chunk, qxl->main_mem_slot); + virtual = virtual_address (qxl, u64_to_pointer (chunk), qxl->main_mem_slot); chunk = virtual->next_chunk; |