summaryrefslogtreecommitdiff
path: root/profile.c
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@redhat.com>2005-08-16 00:40:26 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2005-08-16 00:40:26 +0000
commit509d5f07edb47a70c7fd06a572fc9be8f3f21cf7 (patch)
tree32d28c7b8d1ea350af66ae693fcdaa5d1653b2e2 /profile.c
parentfbc7b471d23af5b9efa1133aec7776bc99931932 (diff)
Fix some warnings.
Mon Aug 15 20:39:11 2005 Soeren Sandmann <sandmann@redhat.com> * binfile.c, process.c, profile.c: Fix some warnings.
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/profile.c b/profile.c
index dedcde3..f3dd0e9 100644
--- a/profile.c
+++ b/profile.c
@@ -222,8 +222,8 @@ profile_load (const char *filename, GError **err)
sfile_begin_get_record (input, "object");
sfile_get_string (input, "name", &obj->name);
- sfile_get_integer (input, "total", &obj->total);
- sfile_get_integer (input, "self", &obj->self);
+ sfile_get_integer (input, "total", (gint32 *)&obj->total);
+ sfile_get_integer (input, "self", (gint32 *)&obj->self);
sfile_end_get (input, "object", obj);
}
@@ -241,8 +241,8 @@ profile_load (const char *filename, GError **err)
sfile_get_pointer (input, "siblings", (gpointer *)&node->siblings);
sfile_get_pointer (input, "children", (gpointer *)&node->children);
sfile_get_pointer (input, "parent", (gpointer *)&node->parent);
- sfile_get_integer (input, "total", &node->total);
- sfile_get_integer (input, "self", &node->self);
+ sfile_get_integer (input, "total", (gint32 *)&node->total);
+ sfile_get_integer (input, "self", (gint32 *)&node->self);
sfile_get_integer (input, "toplevel", &node->toplevel);
sfile_end_get (input, "node", node);