summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <svoj@may.pils.ru>2006-06-15 13:38:32 +0500
committerunknown <svoj@may.pils.ru>2006-06-15 13:38:32 +0500
commit64b82dfdb756e13b887078151e1a576b9eb9698c (patch)
tree8a592504c4993ff6e0ce66116b1370e4635e8895 /include
parentcd323e29d4f52dfc3f52aa541b7cfab01bf84188 (diff)
downloadmariadb-git-64b82dfdb756e13b887078151e1a576b9eb9698c.tar.gz
Fixed windows compilation failure introduced by fix for BUG#12982.
include/my_global.h: Remove cast to ssize_t, since there is no ssize_t type on Windows.
Diffstat (limited to 'include')
-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 0458d9dcf2c..b8e9a2fdef9 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -737,7 +737,7 @@ typedef SOCKET_SIZE_TYPE size_socket;
#define FLT_MAX ((float)3.40282346638528860e+38)
#endif
#ifndef SSIZE_MAX
-#define SSIZE_MAX (ssize_t)((~((size_t) 0)) / 2)
+#define SSIZE_MAX ((~((size_t) 0)) / 2)
#endif
#if !defined(HAVE_ISINF) && !defined(isinf)