Fix Java long (64 bit) operations, add missing ones, fix compiler warningsmaster
commita9410610dc204a2a512e1b1d5e3c4bf5750d10d5
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 24 Jun 2009 08:54:12 +0000 (24 10:54 +0200)
committerGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 24 Jun 2009 08:58:27 +0000 (24 10:58 +0200)
tree76567b303625fe3803267b456e8c3f570f9e3d92
parent531567d8e7c1aac415477855e0f972006c24c301
Fix Java long (64 bit) operations, add missing ones, fix compiler warnings

Type-casting between 64-bit and 32-bit pointers produce a

warning: dereferencing type-punned pointer will break strict-aliasing rules

compiler warning, when compiled with optimisation, except "-O," and bring
run-time errors. These are fixed using a union. Also fix a few other compiler
warnings visible with "-Wall."

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
src/arch/avr32_jem.h
src/class.c
src/dll.c
src/interp/engine/interp_jem.c
src/jam.h