diff options
Diffstat (limited to 'libiberty/cplus-dem.c')
-rw-r--r-- | libiberty/cplus-dem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index a35ff14624e..159f8d5aef0 100644 --- a/libiberty/cplus-dem.c +++ b/libiberty/cplus-dem.c @@ -574,6 +574,9 @@ consume_count (type) (*type)++; } + if (count < 0) + count = -1; + return (count); } |