summaryrefslogtreecommitdiffstats
path: root/libkdenetwork/libgpgme-copy/gpgme/memrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libkdenetwork/libgpgme-copy/gpgme/memrchr.c')
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/memrchr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libkdenetwork/libgpgme-copy/gpgme/memrchr.c b/libkdenetwork/libgpgme-copy/gpgme/memrchr.c
index 83d661695..4f91ef2bd 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/memrchr.c
+++ b/libkdenetwork/libgpgme-copy/gpgme/memrchr.c
@@ -70,7 +70,7 @@ __memrchr (s, c_in, n)
{
const unsigned char *char_ptr;
const unsigned long int *longword_ptr;
- unsigned long int longword, magic_bits, chartqmask;
+ unsigned long int longword, magic_bits, charmask;
unsigned reg_char c;
c = (unsigned char) c_in;
@@ -109,10 +109,10 @@ __memrchr (s, c_in, n)
#endif
/* Set up a longword, each of whose bytes is C. */
- chartqmask = c | (c << 8);
- chartqmask |= chartqmask << 16;
+ charmask = c | (c << 8);
+ charmask |= charmask << 16;
#if LONG_MAX > LONG_MAX_32_BITS
- chartqmask |= chartqmask << 32;
+ charmask |= charmask << 32;
#endif
/* Instead of the traditional loop which tests each character,
@@ -154,7 +154,7 @@ __memrchr (s, c_in, n)
each of whose bytes is C. This turns each byte that is C
into a zero. */
- longword = *--longword_ptr ^ chartqmask;
+ longword = *--longword_ptr ^ charmask;
/* Add MAGIC_BITS to LONGWORD. */
if ((((longword + magic_bits)