Browse Source

Fix typo in `datawizard/handle_to_pointer'.

Ludovic Courtès 14 years ago
parent
commit
1564044086
1 changed files with 1 additions and 1 deletions
  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.  */