On Wed, 22 Nov 1995, Master of Magic wrote: [snip] > ... but i get warnings that 'array subscript has type 'char''. > I really have no clue why this is happening. If this symptom sounds at > all familiar or you can tell me what i did wrong, or what i still need to > do, please let me know. > > Chris > This one bugged me when I implemented racial adjustments. What is happening is that the variable that you are using to access the array is a char when the compiler is expecting an int. Look for where you initialized the variable that you are using to access the array and change it from an int to a char. Syntactically, it should make no difference, since a char is just an int anyway, but it will get rid of that stupid warning. **************************************************************************** Donald Karpovich * I am myself alone **************************** Realise I never need to use No-one dlk2@ra.msstate.edu * Money, Power, Holy Roads, 74547.2546@compuserve.com * Freedom puts my faith in None of the above **************************** -Duran Duran (1993) *************************************************
This archive was generated by hypermail 2b30 : 12/07/00 PST