Index: src/common/dwarf/dwarf2diehandler.h |
diff --git a/src/common/dwarf/dwarf2diehandler.h b/src/common/dwarf/dwarf2diehandler.h |
index 81f40f072f14a6de6a68a85537c8012795f569ed..a1e589a863e08d8ad9b87eddf1af4903e262eb9f 100644 |
--- a/src/common/dwarf/dwarf2diehandler.h |
+++ b/src/common/dwarf/dwarf2diehandler.h |
@@ -156,6 +156,8 @@ |
#ifndef COMMON_DWARF_DWARF2DIEHANDLER_H__ |
#define COMMON_DWARF_DWARF2DIEHANDLER_H__ |
+#include <stdint.h> |
+ |
#include <stack> |
#include <string> |
@@ -206,7 +208,7 @@ class DIEHandler { |
uint64 data) { } |
virtual void ProcessAttributeBuffer(enum DwarfAttribute attr, |
enum DwarfForm form, |
- const char* data, |
+ const uint8_t *data, |
uint64 len) { } |
virtual void ProcessAttributeString(enum DwarfAttribute attr, |
enum DwarfForm form, |
@@ -309,7 +311,7 @@ class DIEDispatcher: public Dwarf2Handler { |
void ProcessAttributeBuffer(uint64 offset, |
enum DwarfAttribute attr, |
enum DwarfForm form, |
- const char* data, |
+ const uint8_t *data, |
uint64 len); |
void ProcessAttributeString(uint64 offset, |
enum DwarfAttribute attr, |