Browse Source

fix warning

Samuel Thibault 10 years ago
parent
commit
8790d2b00e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/datawizard/memalloc.c

+ 1 - 1
src/datawizard/memalloc.c

@@ -1072,7 +1072,7 @@ static void register_mem_chunk(starpu_data_handle_t handle, struct _starpu_data_
 	size_t interface_size = replicate->handle->ops->interface_size;
 	size_t interface_size = replicate->handle->ops->interface_size;
 
 
 	/* Put this memchunk in the list of memchunk in use */
 	/* Put this memchunk in the list of memchunk in use */
-	mc = _starpu_memchunk_init(replicate, interface_size, handle->home_node == -1 || dst_node == handle->home_node, automatically_allocated);
+	mc = _starpu_memchunk_init(replicate, interface_size, handle->home_node == -1 || (int) dst_node == handle->home_node, automatically_allocated);
 
 
 	_starpu_spin_lock(&mc_lock[dst_node]);
 	_starpu_spin_lock(&mc_lock[dst_node]);
 	MC_LIST_PUSH_BACK(dst_node, mc);
 	MC_LIST_PUSH_BACK(dst_node, mc);