question

From: Brian Williams - Nashak (bmw@efn.org)
Date: 02/09/97


ok.. I get this error when I try and compile :P
memorize.c:207: wrong type argument to increment
the line is:
GET_NUM_SPELL_MEMED(ch, sp_level)++;
the macro is defined as:
#define GET_NUM_SPELL_MEMED(ch, spell_level) \
        ((ch)->char_spell_info.num_spells_memed[spell_level])
and the struct num_spells_memed[] is an int.. 
any ideas whats wrong? thanks ahead of tiem

        /---------\      /--------/
       / /XXXXXXX\ \    / ////// /
      / ///XXXXX\\\ \  / ////// /
     / /////XXX\\\\\ \/ ////// /    -=-=-=-=-=-=-=-
    / //////  \\\\\\\  ////// /    Brian Williams
   / ////// /\ \\\\\XXX///// /    bmw@efn.org
  / ////// /  \ \\\XXXXX/// /
 / ////// /    \ \XXXXXXX/ / /\  /_ |_|  /\  |/
/--------/      \---------/ /--\  / | | /--\ |\

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



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