1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-28 05:30:23 +00:00

Fixed a few C99isms that prevented the sources to compile with Watcom-C.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4099 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-08-31 17:15:59 +00:00
parent 514775cbdf
commit b3f3b21f80
2 changed files with 4 additions and 2 deletions

View File

@ -101,12 +101,13 @@ static unsigned OptShift1 (CodeSeg* S)
*/
{
unsigned Changes = 0;
unsigned I;
/* Generate register info */
CS_GenRegInfo (S);
/* Walk over the entries */
unsigned I = 0;
I = 0;
while (I < CS_GetEntryCount (S)) {
CodeEntry* N;

View File

@ -805,12 +805,13 @@ unsigned OptCondBranches2 (CodeSeg* S)
*/
{
unsigned Changes = 0;
unsigned I;
/* Generate register info for this step */
CS_GenRegInfo (S);
/* Walk over the entries */
unsigned I = 0;
I = 0;
while (I < CS_GetEntryCount (S)) {
CodeEntry* N;