summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-01-24 13:48:48 -0800
committerunknown <jimw@mysql.com>2005-01-24 13:48:48 -0800
commitc312cf2762cfc68abaebd87294331f599a522436 (patch)
treec3a261433ebe14a453233665edd8251485c39c4a /include/my_global.h
parent712f3f677b97a89bc1a2ff6a67cbda00a2be25ca (diff)
parent844fe1ea6d8a14d04e78751be1e77838aa2bbd7d (diff)
downloadmariadb-git-c312cf2762cfc68abaebd87294331f599a522436.tar.gz
Merge
BitKeeper/etc/ignore: auto-union include/my_global.h: Auto merged libmysql/libmysql.c: Auto merged libmysqld/examples/Makefile.am: Auto merged scripts/make_binary_distribution.sh: Auto merged sql/mysqld.cc: Auto merged tests/mysql_client_test.c: Auto merged
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_global.h b/include/my_global.h
index e8f93ee5d7a..21ba4331cb1 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -1084,7 +1084,7 @@ do { doubleget_union _tmp; \
#define float4store(V,M) memcpy_fixed((byte*) V,(byte*) (&M),sizeof(float))
#if defined(__FLOAT_WORD_ORDER) && (__FLOAT_WORD_ORDER == __BIG_ENDIAN)
-#define doublestore(T,V) do { *(T)= ((byte *) &V)[4];\
+#define doublestore(T,V) do { *(((char*)T)+0)=(char) ((byte *) &V)[4];\
*(((char*)T)+1)=(char) ((byte *) &V)[5];\
*(((char*)T)+2)=(char) ((byte *) &V)[6];\
*(((char*)T)+3)=(char) ((byte *) &V)[7];\