Hi,

On Fri, 11 Jul 2008 21:55:38 +0300 Guillem Jover wrote:

> > We still can do this on our own though :)
> 
> Good. :)

Did you test your patch on amd64? v86_lrmi.c seems to be not 64bit
safe. When I compile it on my amd64 with your patch, I get the
following:
v86_lrmi.c: In function ‘v_rdb’:
v86_lrmi.c:7: warning: cast to pointer from integer of different size
v86_lrmi.c: In function ‘v_rdw’:
v86_lrmi.c:11: warning: cast to pointer from integer of different size
v86_lrmi.c: In function ‘v_rdl’:
v86_lrmi.c:15: warning: cast to pointer from integer of different size
v86_lrmi.c: In function ‘v_wrb’:
v86_lrmi.c:19: warning: cast to pointer from integer of different size
v86_lrmi.c: In function ‘v_wrw’:
v86_lrmi.c:23: warning: cast to pointer from integer of different size
v86_lrmi.c: In function ‘v_wrl’:
v86_lrmi.c:27: warning: cast to pointer from integer of different size
v86_lrmi.c: In function ‘vptr’:
v86_lrmi.c:31: warning: cast to pointer from integer of different size
v86_lrmi.c: In function ‘v86_mem_free’:
v86_lrmi.c:104: warning: cast to pointer from integer of different size
v86_lrmi.c: In function ‘v86_mem_alloc’:
v86_lrmi.c:108: warning: cast from pointer to integer of different size

v86d still works, but everyone says me that this is very unsafe...
In fact upstream does not inted to use v86_lrmi.c on !x86, as there
v86_x86emu.c should be used.
Do you have an oppinion on this? I would like not to break anyones
computers :)

Regards
Evgeni

Attachment: pgp1U22b7KWkv.pgp
Description: PGP signature

Reply via email to