summaryrefslogtreecommitdiff
path: root/myisammrg
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-04-28 19:05:57 +0300
committermonty@mashka.mysql.fi <>2003-04-28 19:05:57 +0300
commite741c893eaa7593161e55ded869557199df50fc7 (patch)
tree96d5e3ccb7f58564a76e77f8eb11b497988864dc /myisammrg
parent252ba8aa61f14916471f68004967f928f3f63c66 (diff)
downloadmariadb-git-e741c893eaa7593161e55ded869557199df50fc7.tar.gz
Fix to remove compiler warnings
Diffstat (limited to 'myisammrg')
-rw-r--r--myisammrg/myrg_extra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisammrg/myrg_extra.c b/myisammrg/myrg_extra.c
index d375b45df99..62cf5f01aba 100644
--- a/myisammrg/myrg_extra.c
+++ b/myisammrg/myrg_extra.c
@@ -33,7 +33,7 @@ int myrg_extra(MYRG_INFO *info,enum ha_extra_function function,
if (function == HA_EXTRA_CACHE)
{
info->cache_in_use=1;
- info->cache_size= (extra_arg ? *(long*) extra_arg :
+ info->cache_size= (extra_arg ? *(ulong*) extra_arg :
my_default_record_cache_size);
}
else