2000-06-15 Michael Snyder <msnyder@seadog.cygnus.com>

* valops.c (value_cast): Break up long lines.
This commit is contained in:
Michael Snyder 2000-06-15 18:54:48 +00:00
parent 37ce37b139
commit 716c501e94
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2000-06-15 Michael Snyder <msnyder@seadog.cygnus.com>
* valops.c (value_cast): Break up long lines.
2000-06-14 Jim Blandy <jimb@redhat.com>
* dwarf2read.c (dump_die): Use the proper printf format for

View File

@ -273,7 +273,8 @@ value_cast (type, arg2)
/* With HP aCC, pointers to data members have a bias */
case TYPE_CODE_MEMBER:
retvalp = value_from_longest (type, value_as_long (arg2));
ptr = (unsigned int *) VALUE_CONTENTS (retvalp); /* force evaluation */
/* force evaluation */
ptr = (unsigned int *) VALUE_CONTENTS (retvalp);
*ptr &= ~0x20000000; /* zap 29th bit to remove bias */
return retvalp;
@ -286,7 +287,8 @@ value_cast (type, arg2)
}
}
longest = value_as_long (arg2);
return value_from_longest (type, convert_to_boolean ? (LONGEST) (longest ? 1 : 0) : longest);
return value_from_longest (type, convert_to_boolean ?
(LONGEST) (longest ? 1 : 0) : longest);
}
else if (TYPE_LENGTH (type) == TYPE_LENGTH (type2))
{