Ethereal-dev: Re: [Ethereal-dev] possible 64bit problems

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Erwin Rol <mailinglists@xxxxxxxxxxxx>
Date: Fri, 03 Mar 2006 16:04:43 +0100
On Fri, 2006-03-03 at 15:52 +0100, Erwin Rol wrote:

> BTW: I think the casts from int->pointer aren't noticed because there
> you can from small to big, and so the int always fits in the pointer,
> although the result might not be what you want.

OK that was just wrong, since I didn't notice the warnings have "to" and
"from", I was expecting "cast to integer from pointer" and "cast to
pointer from integer". 

> packet-ssl.c:314: warning: cast to pointer from integer of different size
> packet-ssl.c:320: warning: cast from pointer to integer of different size

- Erwin