Import HDB signed char fix from HEAD

This commit is contained in:
Howard Chu 2004-07-18 12:37:48 +00:00
parent 1fc32fe055
commit 4d6befa49c

View File

@ -517,8 +517,8 @@ hdb_dup_compare(
const DBT *curkey
)
{
char *u = (char *)&(((diskNode *)(usrkey->data))->nrdnlen);
char *c = (char *)&(((diskNode *)(curkey->data))->nrdnlen);
signed char *u = (signed char *)&(((diskNode *)(usrkey->data))->nrdnlen);
signed char *c = (signed char *)&(((diskNode *)(curkey->data))->nrdnlen);
int rc, i;
/* data is not aligned, cannot compare directly */