summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-06-09 21:41:40 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-06-09 21:42:25 -0400
commitb608bb8322085893877078d76e3e50f7d9918c5a (patch)
tree48ba408c51cd80193c605b290ddaa250f64b0852
parenta8ec77194e89a8e685c7f44260be75a632254eaa (diff)
downloadsystemtap-steved-b608bb8322085893877078d76e3e50f7d9918c5a.tar.gz
systemtap-steved-b608bb8322085893877078d76e3e50f7d9918c5a.tar.xz
systemtap-steved-b608bb8322085893877078d76e3e50f7d9918c5a.zip
build compatibility fix for gcc 3.4
* translate.cxx (emit_symbol_data): Use ~0 instead of -1 for big unsigned constant
-rw-r--r--translate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate.cxx b/translate.cxx
index 76530cc4..4e312f3e 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4903,7 +4903,7 @@ emit_symbol_data (systemtap_session& s)
ofstream kallsyms_out ((s.tmpdir + "/" + symfile).c_str());
- unwindsym_dump_context ctx = { s, kallsyms_out, 0, -1, s.unwindsym_modules };
+ unwindsym_dump_context ctx = { s, kallsyms_out, 0, ~0, s.unwindsym_modules };
// Micro optimization, mainly to speed up tiny regression tests
// using just begin probe.