diff options
author | unknown <hf@deer.(none)> | 2004-03-15 16:32:53 +0400 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2004-03-15 16:32:53 +0400 |
commit | 9a3fbf0d96426dd5273bb8992c4b131965e6d1e1 (patch) | |
tree | 2cab975faaba9bbd5292393c6b415c5159079213 /sql/spatial.h | |
parent | 22657f672c8d4c005f85cd3efc714d98b635f3f0 (diff) | |
download | mariadb-git-9a3fbf0d96426dd5273bb8992c4b131965e6d1e1.tar.gz |
Fix for valgrind's warning
sql/gstream.cc:
checking for ending \0 changed with m_limit
sql/gstream.h:
checking for ending \0 changed with m_limit
sql/item_geofunc.cc:
we should check for null value before we use val_str result
sql/item_strfunc.cc:
get rid of annoying warnings
sql/spatial.h:
error about size_t type fixed
Diffstat (limited to 'sql/spatial.h')
-rw-r--r-- | sql/spatial.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/spatial.h b/sql/spatial.h index 5d425725437..26396dd0f90 100644 --- a/sql/spatial.h +++ b/sql/spatial.h @@ -157,7 +157,7 @@ struct Geometry_buffer; class Geometry { public: - static void *operator new(unsigned size_t, void *buffer) + static void *operator new(size_t size, void *buffer) { return buffer; } |