diff options
author | lenz@mysql.com <> | 2002-12-04 16:16:06 +0100 |
---|---|---|
committer | lenz@mysql.com <> | 2002-12-04 16:16:06 +0100 |
commit | 1935183975ff5be14cfb3a2c0454fbb09cf384bf (patch) | |
tree | 7caf204e3d8220fc41ededdc6647c0ca54d32d28 /libmysql | |
parent | b9d8e521451f39609f7b493f2d0f8afd65115b86 (diff) | |
download | mariadb-git-1935183975ff5be14cfb3a2c0454fbb09cf384bf.tar.gz |
- Portability fixes for HP compiler on HPUX11 (backport from 4.0 tree)
- sql_analyse.cc: Fixed bug in decimal handling
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/password.c | 2 |
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 : |