diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-02-03 11:35:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-03 11:35:01 +0000 |
commit | 55e801c2af5a311d739041f9328a2bb058bd5fca (patch) | |
tree | 7e02356dc8f763e5afcfbb6b4ef8bc5d161e423b /soltools/cpp | |
parent | ffc47ff79631a80dbc7e497e7e9caec9751820e2 (diff) |
WaE: signed/unsigned
Diffstat (limited to 'soltools/cpp')
-rw-r--r-- | soltools/cpp/_macro.c | 2 | ||||
-rw-r--r-- | soltools/cpp/cpp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/soltools/cpp/_macro.c b/soltools/cpp/_macro.c index 1541dd80a581..253d078aa20c 100644 --- a/soltools/cpp/_macro.c +++ b/soltools/cpp/_macro.c @@ -52,7 +52,7 @@ void if (tp->type != RP) { /* macro with args */ - int narg = 0; + size_t narg = 0; int err = 0; for (;;) diff --git a/soltools/cpp/cpp.h b/soltools/cpp/cpp.h index 3c44f90ea7ca..efba26b60840 100644 --- a/soltools/cpp/cpp.h +++ b/soltools/cpp/cpp.h @@ -65,7 +65,7 @@ typedef struct tokenrow Token *tp; /* current one to scan */ Token *bp; /* base (allocated value) */ Token *lp; /* last+1 token used */ - int max; /* number allocated */ + size_t max; /* number allocated */ } Tokenrow; typedef struct source |