diff options
author | Georgi Kodinov <joro@sun.com> | 2009-06-05 16:44:38 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-06-05 16:44:38 +0300 |
commit | 898443572f721803f46855b127bb3d40c2345ecb (patch) | |
tree | 01577b82dc42b9d95cdcf0feb0465e24c1f561a6 /storage | |
parent | 5fc05b9528a63768831171de669352f4e52342f1 (diff) | |
download | mariadb-git-898443572f721803f46855b127bb3d40c2345ecb.tar.gz |
Bug #45286: compilation warnings on mysql-5.0-bugteam on MacOSX
Merged the 5.0 fix to 5.1 and fixed the 5.1 specific warnings.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/myisammrg/myrg_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisammrg/myrg_create.c b/storage/myisammrg/myrg_create.c index df81b730bfd..eaed470daec 100644 --- a/storage/myisammrg/myrg_create.c +++ b/storage/myisammrg/myrg_create.c @@ -46,7 +46,7 @@ int myrg_create(const char *name, const char **table_names, fn_same(buff,name,4); *(end=strend(buff))='\n'; end[1]=0; - if (my_write(file,(char*) buff,(uint) (end-buff+1), + if (my_write(file,(uchar*) buff,(uint) (end-buff+1), MYF(MY_WME | MY_NABP))) goto err; } |