diff --git a/include/mysql.h.pp b/include/mysql.h.pp
index f9f38b67f9635fa856c7dc25a350317bdbf466d3..6e71f886eba48aebcb20dd3ea3647ee31cc12896 100644
--- a/include/mysql.h.pp
+++ b/include/mysql.h.pp
@@ -224,7 +224,7 @@ typedef struct st_typelib {
 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);