1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fix warnings.

include/typelib.h:
  Fix a compile warning. char *x is actually updated if
  it's found in the typelib (a peculiar way to return
  canonical value in case of a partial match)
mysys/typelib.c:
  Fix a warning.
sql/item_func.cc:
  Fix a compile-time warning.
This commit is contained in:
unknown
2007-03-27 21:57:33 +04:00
parent c601210ba4
commit 587942a792
3 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ typedef struct st_typelib { /* Different types saved here */
unsigned int *type_lengths;
} TYPELIB;
extern int find_type(const char *x, const TYPELIB *typelib,
extern int find_type(char *x, const TYPELIB *typelib,
unsigned int full_name);
extern void make_type(char *to,unsigned int nr,TYPELIB *typelib);
extern const char *get_type(TYPELIB *typelib,unsigned int nr);