summaryrefslogtreecommitdiff
path: root/server-tools
diff options
context:
space:
mode:
authorunknown <brian@zim.(none)>2006-08-23 15:12:42 -0700
committerunknown <brian@zim.(none)>2006-08-23 15:12:42 -0700
commit4ec86b1c0453c18092a9f66292b19afbceadd9dc (patch)
tree64c4a626dd8eac48a06906d6e8fd9dc7f519b7f7 /server-tools
parentfb47d6581bb07cca94add40815481d59bfda532e (diff)
downloadmariadb-git-4ec86b1c0453c18092a9f66292b19afbceadd9dc.tar.gz
This is a cleanup of warnings that windows is complaining about.
client/mysql.cc: Windows warnings clean up server-tools/instance-manager/parse.cc: Cleanedup warning sql/field.cc: Removed unused variables sql/filesort.cc: Removed unused variables sql/ha_innodb.cc: Removed unused variables sql/ha_partition.cc: Fixing warning sql/partition_element.h: Fixing declaration for warnings
Diffstat (limited to 'server-tools')
-rw-r--r--server-tools/instance-manager/parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-tools/instance-manager/parse.cc b/server-tools/instance-manager/parse.cc
index 4e931488fce..d69fb1cecec 100644
--- a/server-tools/instance-manager/parse.cc
+++ b/server-tools/instance-manager/parse.cc
@@ -152,7 +152,7 @@ static bool parse_long(const LEX_STRING *token, long *value)
int err_code;
char *end_ptr= token->str + token->length;
- *value= my_strtoll10(token->str, &end_ptr, &err_code);
+ *value= (long)my_strtoll10(token->str, &end_ptr, &err_code);
return err_code != 0;
}