Adapt to libFirm API
[cparser] / adt / bitfiddle.h
index 628dd77..f23d85b 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of cparser.
- * Copyright (C) 2007-2008 Matthias Braun <matze@braunis.de>
+ * Copyright (C) 2007-2009 Matthias Braun <matze@braunis.de>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -100,7 +100,7 @@ unsigned nlz(unsigned x) {
                        : "r" (x));
        return 31 - res;
 #else
-       x |= x >> 1;
+       x |= x >> 1;
        x |= x >> 2;
        x |= x >> 4;
        x |= x >> 8;