diff options
Diffstat (limited to 'isam/_search.c')
-rw-r--r-- | isam/_search.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/isam/_search.c b/isam/_search.c index 7b61abfb46b..fbffd6786e1 100644 --- a/isam/_search.c +++ b/isam/_search.c @@ -489,7 +489,7 @@ int _nisam_key_cmp(register N_KEYSEG *keyseg, register uchar *a, register uchar int alength,blength; if (swap_flag) - swap(uchar*,a,b); + swap_variables(uchar*, a, b); alength= *a++; blength= *b++; if ((flag=(int) (keyseg->base.length-key_length)) < 0) flag=0; @@ -504,7 +504,7 @@ int _nisam_key_cmp(register N_KEYSEG *keyseg, register uchar *a, register uchar if (*a == '-' && *b == '-') { swap_flag=1; - swap(uchar*,a,b); + swap_variables(uchar*, a, b); } end=a+alength; while (a < end) @@ -531,7 +531,7 @@ int _nisam_key_cmp(register N_KEYSEG *keyseg, register uchar *a, register uchar if (swap_flag) { end=b+(int) (end-a); - swap(uchar*,a,b); + swap_variables(uchar*, a, b); } while (a < end) if (*a++ != *b++) @@ -550,7 +550,7 @@ int _nisam_key_cmp(register N_KEYSEG *keyseg, register uchar *a, register uchar } } if (swap_flag) - swap(uchar*,a,b); + swap_variables(uchar*, a, b); break; } #ifdef HAVE_LONG_LONG |