瀏覽代碼

src/datawizard/data_request.c: add parenthesis to enhance clarity

Nathalie Furmento 11 年之前
父節點
當前提交
4ce96baf81
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/datawizard/data_request.c

+ 3 - 3
src/datawizard/data_request.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2009-2014  Université de Bordeaux 1
- * Copyright (C) 2010, 2011, 2012, 2013  Centre National de la Recherche Scientifique
+ * Copyright (C) 2010, 2011, 2012, 2013, 2014  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -482,7 +482,7 @@ int _starpu_handle_node_data_requests(unsigned src_node, unsigned may_alloc, uns
 			break;
 		}
 
-		*pushed++;
+		(*pushed)++;
 	}
 
 	while (!_starpu_data_request_list_empty(local_list))
@@ -570,7 +570,7 @@ void _starpu_handle_node_prefetch_requests(unsigned src_node, unsigned may_alloc
 			break;
 		}
 
-		*pushed++;
+		(*pushed)++;
 	}
 
 	while(!_starpu_data_request_list_empty(local_list))