On Wed, 26 Nov 1997, Aaron Miller wrote:
>I am getting the warning 'Subscript has type char' all over my code when I
>compile in 95, with Gnu Win 32. Anyone know the probable cause of this?
A 'byte' variable inside an array subscript, cast it to an int to get rid
of the warning or change the variable to int if not in the player
structures.
(byte is a typedef'd char)
--
George Greer - Me@Null.net | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard
+------------------------------------------------------------+
| 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/08/00 PST