|
From: Tobias S. <t_s...@us...> - 2005-04-15 12:18:31
|
Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19028/adobe-source/adobe/source Modified Files: xstr.cpp Log Message: Silences two GCC warnings (signed/unsigned comparison and initialization order of member fields) Index: xstr.cpp =================================================================== RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/source/xstr.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** xstr.cpp 14 Apr 2005 00:26:31 -0000 1.7 --- xstr.cpp 15 Apr 2005 12:18:15 -0000 1.8 *************** *** 370,374 **** // don't compare the value_m of the node, because it is not essential data ! return node_attribute_likeness(x, y) == x.attribute_set_m.size(); } --- 370,374 ---- // don't compare the value_m of the node, because it is not essential data ! return size_t( node_attribute_likeness(x, y) ) == x.attribute_set_m.size(); } *************** *** 598,603 **** boost::spirit::assertion<parser_error_t> expect_open_token; boost::spirit::assertion<parser_error_t> expect_name; - boost::spirit::assertion<parser_error_t> expect_empty_elem_close_token; boost::spirit::assertion<parser_error_t> expect_close_token; boost::spirit::assertion<parser_error_t> expect_eq; boost::spirit::assertion<parser_error_t> expect_att_value; --- 598,603 ---- boost::spirit::assertion<parser_error_t> expect_open_token; boost::spirit::assertion<parser_error_t> expect_name; boost::spirit::assertion<parser_error_t> expect_close_token; + boost::spirit::assertion<parser_error_t> expect_empty_elem_close_token; boost::spirit::assertion<parser_error_t> expect_eq; boost::spirit::assertion<parser_error_t> expect_att_value; |