summaryrefslogtreecommitdiff
path: root/pcre_try_flipped.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcre_try_flipped.c')
-rw-r--r--pcre_try_flipped.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcre_try_flipped.c b/pcre_try_flipped.c
index 7174cb6..00c94fc 100644
--- a/pcre_try_flipped.c
+++ b/pcre_try_flipped.c
@@ -62,8 +62,8 @@ Arguments:
Returns: the flipped value
*/
-static long int
-byteflip(long int value, int n)
+static unsigned long int
+byteflip(unsigned long int value, int n)
{
if (n == 2) return ((value & 0x00ff) << 8) | ((value & 0xff00) >> 8);
return ((value & 0x000000ff) << 24) |