summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-09-24 16:21:46 +0300
committerGeorgi Kodinov <joro@sun.com>2009-09-24 16:21:46 +0300
commitce4ebc7df6efed9e787b8acc1b26a9e494a46c65 (patch)
treedc7aa715d7750096d0fdb9e3bc7dd49f26a86184 /mysys
parent83714da6830784fa8b4e910138e8e2f568a8d098 (diff)
downloadmariadb-git-ce4ebc7df6efed9e787b8acc1b26a9e494a46c65.tar.gz
fixed compilation warnings
Diffstat (limited to 'mysys')
-rw-r--r--mysys/mf_keycache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_keycache.c b/mysys/mf_keycache.c
index f9898e263aa..3c11e6731b7 100644
--- a/mysys/mf_keycache.c
+++ b/mysys/mf_keycache.c
@@ -3113,7 +3113,7 @@ int key_cache_write(KEY_CACHE *keycache,
/* Used in the server. */
keycache->global_cache_write++;
keycache_pthread_mutex_unlock(&keycache->cache_lock);
- if (my_pwrite(file, (uchar*) buff, read_length, filepos + offset,
+ if (my_pwrite(file, (byte*) buff, read_length, filepos + offset,
MYF(MY_NABP | MY_WAIT_IF_FULL)))
error=1;
keycache_pthread_mutex_lock(&keycache->cache_lock);