# HG changeset patch # User jwe # Date 1155586057 0 # Node ID e6c29de3be3886c541780846b3ce7f30ebead04c # Parent e86311bdecc922bd9da75c4efc95f7deaf1ae808 [project @ 2006-08-14 20:07:37 by jwe] diff -r e86311bdecc9 -r e6c29de3be38 src/ChangeLog --- a/src/ChangeLog Mon Aug 14 19:54:46 2006 +0000 +++ b/src/ChangeLog Mon Aug 14 20:07:37 2006 +0000 @@ -1,5 +1,7 @@ 2006-08-14 John W. Eaton + * variables.cc (symbol_record_name_compare): Fix casts. + * ov-cell.cc (octave_cell::subsasgn): Call empty_conv for 0x0 objects, not just empty objects. diff -r e86311bdecc9 -r e6c29de3be38 src/variables.cc --- a/src/variables.cc Mon Aug 14 19:54:46 2006 +0000 +++ b/src/variables.cc Mon Aug 14 20:07:37 2006 +0000 @@ -1527,8 +1527,8 @@ static int symbol_record_name_compare (const void *a_arg, const void *b_arg) { - const symbol_record *a = static_cast (a_arg); - const symbol_record *b = static_cast (b_arg); + const symbol_record *a = *(static_cast (a_arg)); + const symbol_record *b = *(static_cast (b_arg)); std::string a_nm = a->name (); std::string b_nm = b->name ();