X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=bithelp.h;h=76324b44b4e734730cf4a9fe7badd8b2e3cf87b2;hb=46c27e2883a78388c895dc883dbb9b902fc8350d;hp=56a1c074d49c88bf6b2ec529f26f30e4390c50e9;hpb=fea8d960ad3d4879ef2faa62c0b9b6deacabfc1f;p=onak.git diff --git a/bithelp.h b/bithelp.h index 56a1c07..76324b4 100644 --- a/bithelp.h +++ b/bithelp.h @@ -16,6 +16,8 @@ * You should have received a copy of the GNU General Public License * 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.4 2003/10/04 10:21:40 noodles Exp $ */ #ifndef __BITHELP_H__ @@ -26,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)