Re: Type-cast problem

From: George (greerga@CIRCLEMUD.ORG)
Date: 02/15/98


On Sun, 15 Feb 1998, Jon Barrett wrote:

>C:\GodsForge\src\mail.cpp(425) : error C2440: 'type cast' : cannot
>convert from 'void *' to 'struct char_data'

You need to cast it to (struct char_data *), not (struct char_data)

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST