summaryrefslogtreecommitdiff
path: root/myisam/mi_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/mi_search.c')
-rw-r--r--myisam/mi_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_search.c b/myisam/mi_search.c
index e7a654c4da8..812982082af 100644
--- a/myisam/mi_search.c
+++ b/myisam/mi_search.c
@@ -1588,7 +1588,7 @@ _mi_calc_var_pack_key_length(MI_KEYDEF *keyinfo,uint nod_flag,uchar *next_key,
key++; org_key++;
}
}
- if ((new_ref_length= (key - start)))
+ if ((new_ref_length= (uint) (key - start)))
new_ref_length+=pack_marker;
}