summaryrefslogtreecommitdiff
path: root/heap/hp_update.c
diff options
context:
space:
mode:
authorgeorg@lmy002.wdf.sap.corp <>2005-06-13 12:41:15 +0200
committergeorg@lmy002.wdf.sap.corp <>2005-06-13 12:41:15 +0200
commitb64e6db5a4d6807fe693c22b5b743968264a83dc (patch)
tree0a4d130bc8c5eb5d2582f3864b50584de7a5647f /heap/hp_update.c
parent55f962c0cfff56ce5d9e0639072fdd65541ea471 (diff)
downloadmariadb-git-b64e6db5a4d6807fe693c22b5b743968264a83dc.tar.gz
fixes for windows 64-bit compiler warnings
Diffstat (limited to 'heap/hp_update.c')
-rw-r--r--heap/hp_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/heap/hp_update.c b/heap/hp_update.c
index 2f4ea75f9aa..63ada225f06 100644
--- a/heap/hp_update.c
+++ b/heap/hp_update.c
@@ -60,7 +60,7 @@ int heap_update(HP_INFO *info, const byte *old, const byte *heap_new)
err:
if (my_errno == HA_ERR_FOUND_DUPP_KEY)
{
- info->errkey = keydef - share->keydef;
+ info->errkey = (int) (keydef - share->keydef);
if (keydef->algorithm == HA_KEY_ALG_BTREE)
{
/* we don't need to delete non-inserted key from rb-tree */