summaryrefslogtreecommitdiff
path: root/isam
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-09-15 15:24:56 +0300
committermonty@hundin.mysql.fi <>2001-09-15 15:24:56 +0300
commitd1e3041ce9b5d5d5cb5fdccb4c5d72afeff1d570 (patch)
treeab4e03c4854b65e0c557a84b43f16c9f5928a876 /isam
parent6f34ff50d4df51507a42491e4aae25dcf424b35d (diff)
downloadmariadb-git-d1e3041ce9b5d5d5cb5fdccb4c5d72afeff1d570.tar.gz
Fixed bug in --safe-create-user
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 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: