diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2015-02-18 16:14:28 -0600 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2015-02-18 16:14:28 -0600 |
commit | 76ce4aadee1a7a890001affed54a0fb1110b1793 (patch) | |
tree | 14a358904909e8fe0f631d414333c26de81e5042 /clib/src/list.c | |
parent | aa8354ef7ee6606fe32453e3eedce9af8038230a (diff) | |
download | ffs-76ce4aadee1a7a890001affed54a0fb1110b1793.tar.gz ffs-76ce4aadee1a7a890001affed54a0fb1110b1793.zip |
Support to compile in 64bit for Ubuntu Little Endian
Diffstat (limited to 'clib/src/list.c')
-rw-r--r-- | clib/src/list.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clib/src/list.c b/clib/src/list.c index 03f6a20..5c33a48 100644 --- a/clib/src/list.c +++ b/clib/src/list.c @@ -40,14 +40,14 @@ void list_dump(list_t * self, FILE * out) fprintf(out, "===================================================================\n"); - fprintf(out, "head: %8x node: %8x\n", (uint32_t) self, - (uint32_t) & self->node); + fprintf(out, "head: %8lx node: %8lx\n", (ulong) self, + (ulong) & self->node); list_node_t *node = &self->node; do { - fprintf(out, " node: %8x - prev: %8x - next: %8x\n", - (uint32_t) node, (uint32_t) node->prev, - (uint32_t) node->next); + fprintf(out, " node: %8lx - prev: %8lx - next: %8lx\n", + (ulong) node, (ulong) node->prev, + (ulong) node->next); node = node->next; } while (node != &self->node); |