]> sourceware.org Git - systemtap.git/commitdiff
Fix rhel4 build problem.
authorStan Cox <scox@redhat.com>
Tue, 21 Sep 2010 21:16:19 +0000 (17:16 -0400)
committerStan Cox <scox@redhat.com>
Tue, 21 Sep 2010 21:16:19 +0000 (17:16 -0400)
* dwflpp.cxx (iterate_over_notes): Typecast when assigning base.

dwflpp.cxx

index 2749f30aeefe64cc7bf499ca85440ccf62133bf2..ce1892aefd0e4337bd112dc267b0846d59d53cb4 100644 (file)
@@ -990,7 +990,7 @@ dwflpp::iterate_over_notes (void *object, void (*callback)(void *object, int typ
   if (elf_getshdrstrndx (elf, &shstrndx))
     return elf_errno();
 
-  GElf_Addr base = -1;
+  GElf_Addr base = (GElf_Addr) -1;
 
   Elf_Scn *scn = NULL;
 
This page took 0.032997 seconds and 5 git commands to generate.