summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2002-12-04 16:16:06 +0100
committerunknown <lenz@mysql.com>2002-12-04 16:16:06 +0100
commite955255cf67b483234ffdf4a61028bf046be47b5 (patch)
tree7caf204e3d8220fc41ededdc6647c0ca54d32d28 /libmysql
parent4fb76fc70a26ddca0d016a0c598775cc4d574135 (diff)
downloadmariadb-git-e955255cf67b483234ffdf4a61028bf046be47b5.tar.gz
- Portability fixes for HP compiler on HPUX11 (backport from 4.0 tree)
- sql_analyse.cc: Fixed bug in decimal handling configure.in: - Portability fix for HP compiler on HPUX11 libmysql/password.c: - Portability fix for HP compiler on HPUX11 mysys/hash.c: - Portability fix for HP compiler on HPUX11 mysys/my_static.c: - Portability fix for HP compiler on HPUX11 mysys/my_static.h: - Portability fix for HP compiler on HPUX11 mysys/my_tempnam.c: - Portability fix for HP compiler on HPUX11 sql/sql_analyse.cc: - Fixed bug in decimal handling
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/password.c b/libmysql/password.c
index 0fd5861873a..71ed68c6b2c 100644
--- a/libmysql/password.c
+++ b/libmysql/password.c
@@ -92,7 +92,7 @@ void make_scrambled_password(char *to,const char *password)
sprintf(to,"%08lx%08lx",hash_res[0],hash_res[1]);
}
-static inline uint char_val(char X)
+static inline unsigned int char_val(char X)
{
return (uint) (X >= '0' && X <= '9' ? X-'0' :
X >= 'A' && X <= 'Z' ? X-'A'+10 :