mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +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:
@@ -32,7 +32,7 @@ extern bool throw_bounds_warning(THD *thd, const char *name,
|
||||
bool fixed, bool is_unsigned, longlong v);
|
||||
extern bool throw_bounds_warning(THD *thd, const char *name, bool fixed,
|
||||
double v);
|
||||
extern sys_var *intern_find_sys_var(const char *str, uint length);
|
||||
extern sys_var *intern_find_sys_var(const char *str, size_t length);
|
||||
|
||||
extern sys_var_chain all_sys_vars;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user