/[pcre]/code/trunk/pcre_try_flipped.c
ViewVC logotype

Diff of /code/trunk/pcre_try_flipped.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 90 by nigel, Sat Feb 24 21:41:21 2007 UTC revision 91 by nigel, Sat Feb 24 21:41:34 2007 UTC
# Line 62  Arguments: Line 62  Arguments:
62  Returns:       the flipped value  Returns:       the flipped value
63  */  */
64    
65  static long int  static unsigned long int
66  byteflip(long int value, int n)  byteflip(unsigned long int value, int n)
67  {  {
68  if (n == 2) return ((value & 0x00ff) << 8) | ((value & 0xff00) >> 8);  if (n == 2) return ((value & 0x00ff) << 8) | ((value & 0xff00) >> 8);
69  return ((value & 0x000000ff) << 24) |  return ((value & 0x000000ff) << 24) |

Legend:
Removed from v.90  
changed lines
  Added in v.91

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12