From 6503a1cce1cb2a2b88819b414650bd85340a4381 Mon Sep 17 00:00:00 2001 From: Wenji Huang Date: Mon, 11 Aug 2008 20:25:51 -0400 Subject: Fixed compilation warning on gcc 3.x --- tapsets.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tapsets.cxx') 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 : ""; 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) -- cgit