diff options
author | Chris Wilson <ickle@cube.localdomain> | 2007-11-29 20:45:38 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2007-11-30 14:57:17 +0000 |
commit | 11ae54b2b6f896e6cf0db442c22309d2b3091fd9 (patch) | |
tree | 150a414e6e982ec578393d3ec3932657ace1be71 /src/frames.c | |
parent | 5aa3917ceb81d494f4935f50521223b4e6ca81d3 (diff) |
64bit corrections.
Diffstat (limited to 'src/frames.c')
-rw-r--r-- | src/frames.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frames.c b/src/frames.c index ed85cfb..38d71eb 100644 --- a/src/frames.c +++ b/src/frames.c @@ -3,7 +3,7 @@ #include <string.h> Frame * -frames_get (Frames *frames, guint ip) +frames_get (Frames *frames, gulong ip) { guint index = (ip ^ 6017773) % frames->frames.size; Frame *frame = frames->frames.nodes[index]; @@ -119,7 +119,7 @@ srcloc_equal (const Frame *a, const Frame *b) void frames_add (Frames *frames, - guint ip, + gulong ip, const gchar *function, const gchar *object, const gchar *file, @@ -236,13 +236,13 @@ frames_add (Frames *frames, } gboolean -frames_has_ip (Frames *frames, guint ip) +frames_has_ip (Frames *frames, gulong ip) { return frames_get (frames, ip) != NULL; } gboolean -frames_is_alloc_fn (Frames *frames, guint ip) +frames_is_alloc_fn (Frames *frames, gulong ip) { GList *l; Frame *f; |