X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fstat%2Fcounter.h;h=de401af5213218c4943cd83eb33747d91aacc546;hb=dd4cd761ab637d4488c7e29f49843b1b02366acf;hp=9bcbbaf6fbd32a9bdd6a73bef68de9fd0e0d9342;hpb=2cc9db25f1d7780e24013ef1cc912a3cd770d7a5;p=libfirm diff --git a/ir/stat/counter.h b/ir/stat/counter.h index 9bcbbaf6f..de401af52 100644 --- a/ir/stat/counter.h +++ b/ir/stat/counter.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -64,7 +64,7 @@ static INLINE void cnt_dec(counter_t *cnt) int i; for (i = 0; i < STAT_CNT_NUM; ++i) { - if (--cnt->cnt[i] != -1) + if (--cnt->cnt[i] != (unsigned) -1) break; } }