Quellcode durchsuchen

Fix typo in `datawizard/handle_to_pointer'.

Ludovic Courtès vor 14 Jahren
Ursprung
Commit
1564044086
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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.  */