* value.c (value_contents_writeable): Use value_contents_raw.

This commit is contained in:
Daniel Jacobowitz 2005-08-02 03:13:50 +00:00
parent 2b71414df9
commit fc0c53a0cd
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-08-01 Daniel Jacobowitz <dan@codesourcery.com>
* value.c (value_contents_writeable): Use value_contents_raw.
2005-08-01 Daniel Jacobowitz <dan@codesourcery.com>
Suggested by Shaun Jackman <sjackman@gmail.com>:

View File

@ -355,7 +355,7 @@ value_contents_writeable (struct value *value)
{
if (value->lazy)
value_fetch_lazy (value);
return value->aligner.contents;
return value_contents_raw (value);
}
/* Return non-zero if VAL1 and VAL2 have the same contents. Note that