cscvs to tla changeset 107
[onak.git] / bithelp.h
index 200b036354399f82cbb2138838d01eb41a696c3c..76324b44b4e734730cf4a9fe7badd8b2e3cf87b2 100644 (file)
--- a/bithelp.h
+++ b/bithelp.h
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  *
- * $Id: bithelp.h,v 1.3 2003/06/04 20:57:07 noodles Exp $
+ * $Id: bithelp.h,v 1.4 2003/10/04 10:21:40 noodles Exp $
  */
 
 #ifndef __BITHELP_H__
@@ -28,7 +28,7 @@
  *     @x: The integer to rotate.
  *     @n: The number of bytes to rotate it by.
  */
-static inline unsigned int rol(int x, int n)
+static inline unsigned int rol(unsigned int x, int n)
 {
        __asm__("roll %%cl,%0"
                :"=r" (x)