diff options
author | unknown <monty@hundin.mysql.fi> | 2002-11-09 13:26:46 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-11-09 13:26:46 +0200 |
commit | a197007142ddd9316cef490673435cb1c90a71dd (patch) | |
tree | dc4bb2a2343e6494e99b3429fc1247fa2dd18281 /libmysql | |
parent | f9fde16a8ce40093a325132197182bb16d46be40 (diff) | |
download | mariadb-git-a197007142ddd9316cef490673435cb1c90a71dd.tar.gz |
Portability fixes for HP compiler and HPUX11
Docs/internals.texi:
Added protocol information
(needs to be converted to texi and merged with the old documentation)
configure.in:
Updates for HP compiler (cc)
include/my_global.h:
Add option to handle bugs in 'inline' for HP compiler
libmysql/password.c:
Portability fix (for HP compiler)
mysys/hash.c:
Portability fix (for HP compiler)
mysys/my_static.c:
Portability fix (for HPUX11)
mysys/my_static.h:
Portability fix (for HPUX11)
mysys/my_tempnam.c:
Portability fix (for HPUX11)
sql/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 9b154603b98..1c2c5589215 100644 --- a/libmysql/password.c +++ b/libmysql/password.c @@ -91,7 +91,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 : |