Ethereal-dev: [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 15:52:20 +0100
Below a list of warnings with "problematic" casts. It would be smart to
try to remove all warnings before a 1.0 release of ethereal, not just
the ones below. 

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.

- Erwin

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
packet-ssl.c:320: warning: cast from pointer to integer of different size
packet-ssl.c:326: warning: cast to pointer from integer of different size
packet-ssl.c:1379: warning: cast to pointer from integer of different size
packet.c:1747: warning: cast from pointer to integer of different size
proto.c:484: warning: cast from pointer to integer of different size
stream.c:108: warning: cast from pointer to integer of different size
stream.c:280: warning: cast from pointer to integer of different size
packet-h223.c:183: warning: cast from pointer to integer of different size
mate_runtime.c:679: warning: cast to pointer from integer of different size
mate_runtime.c:863: warning: cast to pointer from integer of different size
mate_util.c:838: warning: cast from pointer to integer of different size
mate_util.c:838: warning: cast from pointer to integer of different size
mate_util.c:1052: warning: cast from pointer to integer of different size
mate_util.c:1052: warning: cast from pointer to integer of different size
mate_util.c:1133: warning: cast from pointer to integer of different size
mate_util.c:1133: warning: cast from pointer to integer of different size
mate_util.c:1215: warning: cast from pointer to integer of different size
mate_util.c:1215: warning: cast from pointer to integer of different size
column_prefs.c:551: warning: cast from pointer to integer of different size
conversations_table.c:1029: warning: cast to pointer from integer of different size
conversations_table.c:1106: warning: cast to pointer from integer of different size
conversations_table.c:1675: warning: cast to pointer from integer of different size
expert_comp_table.c:617: warning: cast to pointer from integer of different size
expert_comp_table.c:635: warning: cast to pointer from integer of different size
hostlist_table.c:486: warning: cast to pointer from integer of different size
hostlist_table.c:543: warning: cast to pointer from integer of different size
hostlist_table.c:1067: warning: cast to pointer from integer of different size
service_response_time_table.c:482: warning: cast to pointer from integer of different size
service_response_time_table.c:511: warning: cast to pointer from integer of different size
ssl-dlg.c:142: warning: cast from pointer to integer of different size
ansi_a_stat.c:139: warning: cast to pointer from integer of different size
ansi_a_stat.c:158: warning: cast to pointer from integer of different size
ansi_a_stat.c:396: warning: cast to pointer from integer of different size
ansi_a_stat.c:443: warning: cast to pointer from integer of different size
ansi_map_stat.c:148: warning: cast to pointer from integer of different size
ansi_map_stat.c:400: warning: cast to pointer from integer of different size
dcerpc_stat.c:382: warning: cast from pointer to integer of different size
dcerpc_stat.c:403: warning: cast to pointer from integer of different size
expert_dlg.c:539: warning: cast to pointer from integer of different size
gsm_a_stat.c:181: warning: cast to pointer from integer of different size
gsm_a_stat.c:483: warning: cast to pointer from integer of different size
gsm_a_stat.c:534: warning: cast to pointer from integer of different size
gsm_map_stat.c:161: warning: cast to pointer from integer of different size
gsm_map_stat.c:438: warning: cast to pointer from integer of different size
io_stat.c:1262: warning: cast from pointer to integer of different size
io_stat.c:1276: warning: cast from pointer to integer of different size
io_stat.c:1288: warning: cast from pointer to integer of different size
io_stat.c:1324: warning: cast from pointer to integer of different size
io_stat.c:1389: warning: cast from pointer to integer of different size
rpc_stat.c:344: warning: cast from pointer to integer of different size
rpc_stat.c:372: warning: cast to pointer from integer of different size
rpc_stat.c:473: warning: cast to pointer from integer of different size
rtp_analysis.c:1938: warning: cast from pointer to integer of different size
rtp_analysis.c:1951: warning: cast from pointer to integer of different size
rtp_analysis.c:1963: warning: cast from pointer to integer of different size
tcp_graph.c:1166: warning: cast from pointer to integer of different size
tcp_graph.c:1205: warning: cast from pointer to integer of different size
tcp_graph.c:1367: warning: cast from pointer to integer of different size
tcp_graph.c:1410: warning: cast from pointer to integer of different size
tcp_graph.c:1570: warning: cast from pointer to integer of different size