]> sourceware.org Git - systemtap.git/commitdiff
build compatibility fix for gcc 3.4
authorFrank Ch. Eigler <fche@elastic.org>
Wed, 10 Jun 2009 01:41:40 +0000 (21:41 -0400)
committerFrank Ch. Eigler <fche@elastic.org>
Wed, 10 Jun 2009 01:42:25 +0000 (21:42 -0400)
* translate.cxx (emit_symbol_data): Use ~0 instead of -1 for big unsigned constant

translate.cxx

index 76530cc47b295965e72cc347ad80ad2eea5ed8f3..4e312f3e63747f3559edd496ff3d2cb5e2ef1b8e 100644 (file)
@@ -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.
This page took 0.069899 seconds and 5 git commands to generate.