Re: void pointer
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Fri, 22 Jun 2007 11:12:40 -0400
Roman Mashak wrote:
.... snip ...
My question is: is this valid type casting
n->data = (void *)data;
Not really. Just omit the cast. Actually, you should probably
know the type of *data and do a deep copy.
--
<http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfocus.com/columnists/423>
<http://www.aaxnet.com/editor/edit043.html>
cbfalconer at maineline dot net
--
Posted via a free Usenet account from http://www.teranews.com
.
- References:
- void pointer
- From: Roman Mashak
- void pointer
- Prev by Date: Re: Warning meaning.
- Next by Date: Re: Visual Studio ERR, Please Help
- Previous by thread: Re: void pointer
- Next by thread: Re: void pointer
- Index(es):
Relevant Pages
|