blob: 7264c3ea386e3cf2dbac0e05c9b05b7070f25b65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Bug: https://bugs.gentoo.org/923021
--- a/src/process.c
+++ b/src/process.c
@@ -526,7 +526,7 @@ input_func (GIOChannel *source,
gpointer data)
{
MIInfo info;
- guint count;
+ gsize count;
MPProcess *input_process = data;
MPProcess *process = NULL;
--- a/src/profile.c
+++ b/src/profile.c
@@ -31,7 +31,7 @@ block_create_stack_list (Block *block, MPProcess *process, GHashTable *skip_hash
for (element = block->stack; element != NULL; element = element->parent)
{
- const char *symbol = process_locate_symbol (process, (guint)element->address);
+ const char *symbol = process_locate_symbol (process, (gsize)element->address);
if (symbol && g_hash_table_lookup (skip_hash, symbol))
continue;
|