summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-06-05 16:44:38 +0300
committerGeorgi Kodinov <joro@sun.com>2009-06-05 16:44:38 +0300
commit898443572f721803f46855b127bb3d40c2345ecb (patch)
tree01577b82dc42b9d95cdcf0feb0465e24c1f561a6 /include
parent5fc05b9528a63768831171de669352f4e52342f1 (diff)
downloadmariadb-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 'include')
-rw-r--r--include/my_sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 01804cd089f..263b567684d 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -511,7 +511,7 @@ typedef int (*qsort2_cmp)(const void *, const void *, const void *);
((info)->write_pos + (Count) <=(info)->write_end ?\
(memcpy((info)->write_pos, (Buffer), (size_t)(Count)),\
((info)->write_pos+=(Count)),0) : \
- (*(info)->write_function)((info),(Buffer),(Count)))
+ (*(info)->write_function)((info),(uchar *)(Buffer),(Count)))
#define my_b_get(info) \
((info)->read_pos != (info)->read_end ?\