Mercurial > hg > graal-compiler
diff src/share/vm/prims/forte.cpp @ 18734:61b6c57421c2
Add cast to void to fix compilation warning.
Contributed-by: vladimir.kozlov@oracle.com
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Fri, 19 Dec 2014 12:44:00 -0800 |
parents | 52b4284cb496 |
children | 7848fc12602b |
line wrap: on
line diff
--- a/src/share/vm/prims/forte.cpp Fri Dec 19 12:42:00 2014 -0800 +++ b/src/share/vm/prims/forte.cpp Fri Dec 19 12:44:00 2014 -0800 @@ -613,7 +613,7 @@ #ifdef __APPLE__ // XXXDARWIN: Link errors occur even when __attribute__((weak_import)) // is added -#define collector_func_load(x0,x1,x2,x3,x4,x5,x6) (0) +#define collector_func_load(x0,x1,x2,x3,x4,x5,x6) ((void) 0) #else void collector_func_load(char* name, void* null_argument_1,