aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2003-02-13 12:28:26 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2003-02-13 12:28:26 +0000
commit9fb93b00b0f3fa7da42e4969071d47ffe9863610 (patch)
tree5cf9a9f043f6d8a7fab9d1d28cb895e786e69f46 /gcc/cgraph.c
parent8c9c9dfb8f8becb19c81f43b66e2bac9e0cf2155 (diff)
downloadgcc-9fb93b00b0f3fa7da42e4969071d47ffe9863610.zip
gcc-9fb93b00b0f3fa7da42e4969071d47ffe9863610.tar.gz
gcc-9fb93b00b0f3fa7da42e4969071d47ffe9863610.tar.bz2
cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.
* cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t. Parenthesize properly. (NPREDECESORS): Parenthesize properly. From-SVN: r62838
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index a199fe6..5b58049 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -422,8 +422,8 @@ cgraph_finalize_compilation_unit ()
/* Expand all functions that must be output. */
-#define NPREDECESORS(node) (size_t)((node)->aux)
-#define SET_NPREDECESORS(node,n) (node)->aux = (void *) (n);
+#define NPREDECESORS(node) ((size_t) (node)->aux)
+#define SET_NPREDECESORS(node, n) ((node)->aux = (void *) (size_t) (n))
/* Figure out what functions we want to assemble. */