Re: [CODE] Warnings & Line of sight

From: George Greer (greerga@circlemud.org)
Date: 04/30/99


On Fri, 30 Apr 1999, Andrew Ritchie wrote:

>Hey all,
>
>void load_player_file(FILE *fp, struct char_data *p)
>{
>   to->firstname = fread_string(fp, "load_player_file");
>   ....
>}
>
>Just curious as to why this line was producing a:
>
>"warning: assignment makes pointer from integer without a cast"

Probably because you get an 'implicit declaration' on fread_string.

--
George Greer
greerga@circlemud.org


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



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