<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>in a Grass module I am developing, I would like to 
allocate a huge array. I thought to use something like:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>unsigned int * H_Array;</FONT></DIV>
<DIV><FONT face=Arial size=2>(...)</FONT></DIV>
<DIV><FONT face=Arial size=2>H_Array=(unsigned int *)G_calloc(2^32, 
sizeof(unsigned int));</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>because in this way (unsigned int) with 32 bits I 
can manage 4 billions cells, instead of 2 billions related to 32 bits as 
(traditional signed) int.</FONT></DIV>
<DIV><FONT face=Arial size=2>At compile-time, I receive a warning:</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;warning: passing arg 1 of `G_calloc' as 
signed due to prototype</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thus, I realize that I am not succeeding in what I 
want!</FONT></DIV>
<DIV><FONT face=Arial size=2>Is there a different G_calloc function that 
provides a prototype suitable for my needs?</FONT></DIV>
<DIV><FONT face=Arial size=2>Thank you in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2>Damiano</FONT></DIV></BODY></HTML>