diff options
author | Wenji Huang <wenji.huang@oracle.com> | 2008-08-11 20:25:51 -0400 |
---|---|---|
committer | Wenji Huang <wenji.huang@oracle.com> | 2008-08-11 20:25:51 -0400 |
commit | 6503a1cce1cb2a2b88819b414650bd85340a4381 (patch) | |
tree | 5a9c605cf4a3837ccd9834ad1d956d922faeacff | |
parent | ac4229f1050ee69b3ebfe57e6f7fcee08aaeceec (diff) | |
download | systemtap-steved-6503a1cce1cb2a2b88819b414650bd85340a4381.tar.gz systemtap-steved-6503a1cce1cb2a2b88819b414650bd85340a4381.tar.xz systemtap-steved-6503a1cce1cb2a2b88819b414650bd85340a4381.zip |
Fixed compilation warning on gcc 3.x
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | tapsets.cxx | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2008-08-11 Wenji Huang <wenji.huang@oracle.com> + + * tapsets.cxx : Fixed compilation warning on gcc 3.x. + 2008-08-11 Frank Ch. Eigler <fche@elastic.org> * tapsets.cxx (translate_final_fetch_or_store): Reject some diff --git a/tapsets.cxx b/tapsets.cxx index b35bc338..6dcd2c00 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -2067,7 +2067,7 @@ struct dwflpp diestr = (dname != NULL) ? dname : "<unknown>"; Dwarf_Attribute encoding_attr; - Dwarf_Word encoding = -1; + Dwarf_Word encoding = (Dwarf_Word) -1; dwarf_formudata (dwarf_attr_integrate (typedie, DW_AT_encoding, &encoding_attr), & encoding); if (encoding < 0) |