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