From d25f8cdc55e20436190aec6ea9dcf7403012c02e Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Sun, 10 Jul 2011 12:27:42 +0200 Subject: LPBUG#808233: Undefined uint in typelib.h Fix is to replace uint in public header with unsigned int. uint is not guaranteed to be defined by system headers. --- include/typelib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/typelib.h b/include/typelib.h index a5ac5cc7bbf..16c719e3419 100644 --- a/include/typelib.h +++ b/include/typelib.h @@ -29,7 +29,7 @@ typedef struct st_typelib { /* Different types saved here */ extern my_ulonglong find_typeset(char *x, TYPELIB *typelib,int *error_position); extern int find_type_with_warning(const char *x, TYPELIB *typelib, const char *option); -extern uint find_type_or_exit(const char *x, TYPELIB *typelib, +extern unsigned int find_type_or_exit(const char *x, TYPELIB *typelib, const char *option); extern int find_type(char *x, const TYPELIB *typelib, unsigned int full_name); extern void make_type(char *to,unsigned int nr,TYPELIB *typelib); -- cgit v1.2.1