1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-25 13:29:41 +00:00

Fix a C89 incompatibility (Stefan Haubenthal).

git-svn-id: svn://svn.cc65.org/cc65/trunk@5272 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2011-08-26 10:05:28 +00:00
parent 7c96984473
commit c2d859b9f3

View File

@ -1884,16 +1884,17 @@ static cc65_typedata* TypeFromString (TypeParseData* P)
* recursively. Will set P->Error and return NULL in case of problems.
*/
{
unsigned char B;
unsigned I;
unsigned Count;
cc65_typedata* Data;
unsigned char B;
unsigned I;
unsigned Count;
/* Allocate a new entry */
if (P->ItemIndex >= P->ItemCount) {
P->Error = 1;
return 0;
}
cc65_typedata* Data = &P->ItemData[P->ItemIndex++];
Data = &P->ItemData[P->ItemIndex++];
/* Assume no following node */
Data->next = 0;