a few problems

From: The Mighty Mighty Bosstone (skaking@HOTMAIL.COM)
Date: 06/25/98


Here is a few little bugs i got in my oedit.c file.

oedit.c: In function 'oedit_save_to_disk':
oedit.c:382: warning implicit direction of function 'GET_OBJ_INNATE'
oedit.c: In function 'oedit_parse':
oedit.c: Invalid lvalue in assignment

here is the code.

380:   GET_OBJ_VAL(obj, 0),GET_OBJ_VAL(obj, 1),GET_OBJ_VAL(obj,2),
381:   GET_OBJ_VAL(obj, 3),GET_OBJ_WEIGHT(obj),GET_OBJ_COST(obj),
382:   GET_OBJ_RENT(obj),GET_OBJ_INNATE(obj)


1318: case OEDIT_INNATE:
1319:   number = atoi(arg);
1320:   GET_OBJ_INNATE(OLC_OBJ(d)) = number;
1321:   break;
1322: default:


     any ideas?

 _____                                            _____
 /   __)           Bosstone                      (__   \
/   (__|_________________________________________|__)   \
\   |                                               |   /
 \__|  Founder And Head Implementor of RealityMUD   |__/
    |        telnet://realitymud.ml.org:4000        |
    |_______________________________________________|


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


     +------------------------------------------------------------+
     | 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