summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
diff options
context:
space:
mode:
authorvenu@myvenu.com <>2003-06-03 20:59:32 -0700
committervenu@myvenu.com <>2003-06-03 20:59:32 -0700
commit45fc8cc25b4500f78cc8304c957ffe052408d166 (patch)
tree0c63a76e645bd17fa2e854c9d6e3b91d1d0a7b78 /sql/item_geofunc.cc
parent8f57d0e2e4a6b12a5f3e1a5a114fec2080dbad44 (diff)
downloadmariadb-git-45fc8cc25b4500f78cc8304c957ffe052408d166.tar.gz
Fix windows build after applyiing the changes from new client.c(sql-common)
NOTE: Still the build fails to compile core server on Windows due to slave_net_timeout linker error from client.obj and make sure to have the next changeset, which fixes this.
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r--sql/item_geofunc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc
index fa858922c1b..6db139fdfa6 100644
--- a/sql/item_geofunc.cc
+++ b/sql/item_geofunc.cc
@@ -34,7 +34,7 @@ String *Item_func_geometry_from_text::val_str(String *str)
uint32 srid;
if ((arg_count == 2) && !args[1]->null_value)
- srid= args[1]->val_int();
+ srid= (uint32)args[1]->val_int();
else
srid= 0;
@@ -62,7 +62,7 @@ String *Item_func_geometry_from_wkb::val_str(String *str)
uint32 srid;
if ((arg_count == 2) && !args[1]->null_value)
- srid= args[1]->val_int();
+ srid= (uint32)args[1]->val_int();
else
srid= 0;