summaryrefslogtreecommitdiff
path: root/strings/my_strtoll10.c
diff options
context:
space:
mode:
authorunknown <greg@mysql.com>2003-11-12 03:38:46 -0500
committerunknown <greg@mysql.com>2003-11-12 03:38:46 -0500
commitd35292fdf1e568e448e097e873459a10d01fa8d7 (patch)
tree4a51a6b365d0f47e5086c8189c17bdcb977bca13 /strings/my_strtoll10.c
parentf5ea1f4f2ff8c3a6cedfeaf19efe81c4c2943fad (diff)
downloadmariadb-git-d35292fdf1e568e448e097e873459a10d01fa8d7.tar.gz
Fixed minor compiler errors encountered during pre-final builds.
sql/item_func.cc: Goto statement potentially skips declaration of 'i'-- VC++ compiler generates an error. sql/mysql_priv.h: Some platforms will not find sql_bitmap.h when angle brackets are used. sql/mysqld.cc: my_strcasecmp now needs a charset info parameter. strings/my_strtoll10.c: Changed constant macro to use LL()-- fixes compiler error under Windows.
Diffstat (limited to 'strings/my_strtoll10.c')
-rw-r--r--strings/my_strtoll10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/my_strtoll10.c b/strings/my_strtoll10.c
index d741fac6825..f795ef64728 100644
--- a/strings/my_strtoll10.c
+++ b/strings/my_strtoll10.c
@@ -19,7 +19,7 @@
#include <m_string.h>
#define ULONGLONG_MAX (~(ulonglong) 0)
-#define MAX_NEGATIVE_NUMBER ((ulonglong) 0x8000000000000000LL)
+#define MAX_NEGATIVE_NUMBER ((ulonglong) LL(0x8000000000000000))
#define INIT_CNT 9
#define LFACTOR LL(1000000000)
#define LFACTOR1 LL(10000000000)