summaryrefslogtreecommitdiff
path: root/isam
diff options
context:
space:
mode:
Diffstat (limited to 'isam')
-rw-r--r--isam/_dbug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isam/_dbug.c b/isam/_dbug.c
index fd0a0b46562..d632d5931a5 100644
--- a/isam/_dbug.c
+++ b/isam/_dbug.c
@@ -85,7 +85,7 @@ void _nisam_print_key(FILE *stream, register N_KEYSEG *keyseg, const uchar *key)
key=end;
break;
case HA_KEYTYPE_INT24:
- VOID(fprintf(stream,"%ld",sint3korr(key)));
+ VOID(fprintf(stream,"%ld",(long) sint3korr(key)));
key=end;
break;
case HA_KEYTYPE_UINT24: