diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-06-09 21:41:40 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-06-09 21:42:25 -0400 |
commit | b608bb8322085893877078d76e3e50f7d9918c5a (patch) | |
tree | 48ba408c51cd80193c605b290ddaa250f64b0852 /translate.cxx | |
parent | a8ec77194e89a8e685c7f44260be75a632254eaa (diff) | |
download | systemtap-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
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 2 |
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. |