comparison src/variables.cc @ 5760:8d7162924bd3

[project @ 2006-04-14 04:01:37 by jwe]
author jwe
date Fri, 14 Apr 2006 04:01:40 +0000
parents ce79d238f142
children ace8d8d26933
comparison
equal deleted inserted replaced
5759:ce79d238f142 5760:8d7162924bd3
1461 // name maybe_list_cmp_fcn. 1461 // name maybe_list_cmp_fcn.
1462 1462
1463 static int 1463 static int
1464 symbol_record_name_compare (const void *a_arg, const void *b_arg) 1464 symbol_record_name_compare (const void *a_arg, const void *b_arg)
1465 { 1465 {
1466 const symbol_record *a = *(X_CAST (const symbol_record **, a_arg)); 1466 const symbol_record *a = static_cast<const symbol_record *> (a_arg);
1467 const symbol_record *b = *(X_CAST (const symbol_record **, b_arg)); 1467 const symbol_record *b = static_cast<const symbol_record *> (b_arg);
1468 1468
1469 std::string a_nm = a->name (); 1469 std::string a_nm = a->name ();
1470 std::string b_nm = b->name (); 1470 std::string b_nm = b->name ();
1471 1471
1472 return a_nm.compare (b_nm); 1472 return a_nm.compare (b_nm);