Date: Wed, 2 Aug 2000 04:46:47 +0400 (MSD) From: .@babolo.ru To: freebsd-hackers@FreeBSD.ORG Subject: malloc to arrays? Message-ID: <200008020046.EAA01875@cicuta.babolo.ru>
next in thread | raw e-mail | index | archive | help
Sorry I have no other direction to ask this: I have declaration: u_int32_t *(tcpcash_addr[256]); and want malloc some memory for tcpcash_addr: tcpcash_addr = (typeof(tcpcash_addr))malloc(u_int32_t * 256 * n); and have an error: ra-sum.c:386: cast specifies array type *** Error code 1 How can I cast pointer from malloc for tcpcash_addr? -- Александр А.Бабайлов mailto://babolo@links.ru/ http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008020046.EAA01875>