소스 검색

Fix the fix in `datawizard/handle_to_pointer'.

Ludovic Courtès 14 년 전
부모
커밋
8c53ba305d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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(count));
+				    count, sizeof(float));
 	assert(starpu_handle_to_pointer(handle) == NULL);
 
 	/* Pass the handle to a task.  */