mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-15091 : Windows, 64bit: reenable and fix warning C4267 (conversion from 'size_t' to 'type', possible loss of data)
Handle string length as size_t, consistently (almost always:)) Change function prototypes to accept size_t, where in the past ulong or uint were used. change local/member variables to size_t when appropriate. This fix excludes rocksdb, spider,spider, sphinx and connect for now.
This commit is contained in:
@ -142,7 +142,7 @@ static void get_point(double *x, double *y, const char *data)
|
||||
|
||||
/***************************** Geometry *******************************/
|
||||
|
||||
Geometry::Class_info *Geometry::find_class(const char *name, uint32 len)
|
||||
Geometry::Class_info *Geometry::find_class(const char *name, size_t len)
|
||||
{
|
||||
for (Class_info **cur_rt= ci_collection;
|
||||
cur_rt < ci_collection_end; cur_rt++)
|
||||
|
Reference in New Issue
Block a user