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:
parent
7c96984473
commit
c2d859b9f3
1 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue