This silences a warning that surfaces on x86-64 due to casting a pointer to an integer of a different size.
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> --- jit/statement.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/jit/statement.c b/jit/statement.c index 1010739..b9431a8 100644 --- a/jit/statement.c +++ b/jit/statement.c @@ -152,5 +152,5 @@ int lookupswitch_pair_comp(const void *key, const void *elem) { const struct lookupswitch_pair *pair = elem; - return (int32_t)key - pair->match; + return (int32_t) ((intptr_t) key) - pair->match; } -- 1.6.0.6 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel