Subject: making programs 64bit clean
To: None <port-alpha@NetBSD.ORG>
From: Tim Rightnour <>
List: port-alpha
Date: 06/18/1998 06:28:08
I'm trying to make a pkg 64bit clean, and am running into an error that has me
stumped.  I resorted to typecasting just about everything, and Managed to cut
the offending code down to one line:

int i;
  (char **)malloc(i * sizeof(char **));
which returns: 
warning: cast to pointer from integer of different size

I've tried making i long, making the args to malloc (size_t),  I'm at a
complete loss here, any help would be appreciated.  Thanks.

Tim Rightnour    -