Max level

From: Its Me Christian (cd_fl@hotmail.com)
Date: 06/28/01


hey all,
im getting some wierd warnings when i try and add more levels past 128 it
comes up with warnings in tedit.c for some reason.
this is the warning i get.
\src\tedit.c(85) : warning C4305: 'initializing' : truncation from 'const
int ' to 'char '

tedit...
fields[] = {
/* edit the lvls to your own needs */
<<<<< Here down i get the warnings   (line below is line 85)>>>>>

{ "credits",    LVL_IMPL,       &credits,       2400,   CREDITS_FILE},
{ "news",       LVL_GRGOD,      &news,          8192,   NEWS_FILE},
{ "motd",       LVL_GRGOD,      &motd,          2400,   MOTD_FILE},
{ "imotd",      LVL_IMPL,       &imotd,         2400,   IMOTD_FILE},
{ "help",       LVL_GRGOD,      &help,          2400,   HELP_PAGE_FILE},
{ "info",       LVL_GRGOD,      &info,          8192,   INFO_FILE},
{ "background", LVL_IMPL,       &background,    8192,   BACKGROUND_FILE},
{ "handbook",   LVL_IMPL,       &handbook,      8192,   HANDBOOK_FILE},
{ "policies",   LVL_IMPL,       &policies,      8192,   POLICIES_FILE},
{ "\n",         0,              NULL,           0,      NULL }

if i make the last level 127 it works but once i make it past 128 i get that
error..


I am using Windows with Circlebpl17 OasisOLCv2 and Ascii pfile.

- Thanx
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST