瀏覽代碼

Fix warnings

Samuel Thibault 4 年之前
父節點
當前提交
9f6c3b358d

+ 1 - 1
tests/datawizard/interfaces/coo/coo_opencl.c

@@ -119,7 +119,7 @@ test_coo_opencl_func(void *buffers[], void *args)
 				  0,
 				  NULL,
 				  NULL);
-	if (coo_config.copy_failed != 0)
+	if (coo_config.copy_failed != SUCCESS)
 	{
 		fprintf(stderr, "FUCK copy_failed  %d\n",
 			coo_config.copy_failed);

+ 1 - 1
tests/datawizard/interfaces/multiformat/multiformat_interface.c

@@ -95,7 +95,7 @@ void test_multiformat_mic_func(void *buffers[], void *args)
 		FPRINTF(stderr, "(%d %d) [%d]", soa->x[i], soa->y[i], factor);
 		if (soa->x[i] != i * factor || soa->y[i] != i * factor)
 		{
-			multiformat_config.copy_failed = 1;
+			multiformat_config.copy_failed = FAILURE;
 		}
 		soa->x[i] = -soa->x[i];
 		soa->y[i] = -soa->y[i];