Explorar o código

Fix typo in `datawizard/handle_to_pointer'.

Ludovic Courtès %!s(int64=14) %!d(string=hai) anos
pai
achega
1564044086
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/datawizard/handle_to_pointer.c

+ 1 - 1
tests/datawizard/handle_to_pointer.c

@@ -73,7 +73,7 @@ int main(int argc, char *argv[])
 
 	/* Lazy allocation.  */
 	starpu_vector_data_register(&handle, -1, 0 /* NULL */,
-				    count, sizeof(float));
+				    count, sizeof(count));
 	assert(starpu_handle_to_pointer(handle) == NULL);
 
 	/* Pass the handle to a task.  */