1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

Portability fixes for HP compiler and HPUX11

This commit is contained in:
monty@hundin.mysql.fi
2002-11-09 13:26:46 +02:00
parent e08ed8a582
commit b0fae584b9
9 changed files with 831 additions and 13 deletions

View File

@@ -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 :