_allshl(), _allshr(), _aullshr() - Fixed 'count' to be 8-bit, not 32-bit
authorshort <>
Tue, 8 Apr 2003 18:00:33 +0000 (18:00 +0000)
committershort <>
Tue, 8 Apr 2003 18:00:33 +0000 (18:00 +0000)
src/libcaptive/ps/math.c

index f7734b6..93816c5 100644 (file)
@@ -68,7 +68,7 @@ LONGLONG _alldiv(LONGLONG a,LONGLONG b)
 guint64 __attribute__((__stdcall__)) __attribute__((__regparm__(3))) _allshl(
                guint32 long_00to31,    /* %eax */
                guint32 long_32to63,    /* %edx */
-               guint32 count)  /* %ecx */
+               guint count)  /* %ecx */
 {
        return (((((guint64)long_32to63)<<32U)|long_00to31)<<count);
 }
@@ -93,7 +93,7 @@ guint64 __attribute__((__stdcall__)) __attribute__((__regparm__(3))) _allshl(
 guint64 __attribute__((__stdcall__)) __attribute__((__regparm__(3))) _allshr(
                guint32 long_00to31,    /* %eax */
                guint32 long_32to63,    /* %edx */
-               guint32 count)  /* %ecx */
+               guint count)  /* %ecx */
 {
        return (((((gint64)long_32to63)<<32U)|long_00to31)>>count);
 }
@@ -115,7 +115,7 @@ guint64 __attribute__((__stdcall__)) __attribute__((__regparm__(3))) _allshr(
 guint64 __attribute__((__stdcall__)) __attribute__((__regparm__(3))) _aullshr(
                guint32 long_00to31,    /* %eax */
                guint32 long_32to63,    /* %edx */
-               guint32 count)  /* %ecx */
+               guint count)  /* %ecx */
 {
        return (((((guint64)long_32to63)<<32U)|long_00to31)>>count);
 }