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