Skip to content

Instantly share code, notes, and snippets.

@orklann
Created October 16, 2015 14:58
Show Gist options
  • Save orklann/8e192923d00004d079e9 to your computer and use it in GitHub Desktop.
Save orklann/8e192923d00004d079e9 to your computer and use it in GitHub Desktop.
Ubuntu Qemu error
/home/aaron/tmp/qemu/migration/rdma.c: In function ‘rdma_add_block’:
/home/aaron/tmp/qemu/migration/rdma.c:580:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
g_hash_table_insert(rdma->blockmap, (void *) block_offset, block);
^
cc1: all warnings being treated as errors
make: *** [migration/rdma.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment