summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-22 15:08:09 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-22 15:08:09 +0200
commita1e95df622921a6aa1f62d47699e4bc5cc328930 (patch)
tree906db75daf9a528ca156daebd0cf3fa0076bdee1 /src
parent9332d1fd62492d8dd843a571693eeec75d8d3632 (diff)
downloadedoors-a1e95df622921a6aa1f62d47699e4bc5cc328930.zip
edoors-a1e95df622921a6aa1f62d47699e4bc5cc328930.tar.gz
DBG usage: cast pointers to unsigned int
Diffstat (limited to 'src')
-rw-r--r--src/lib/eiotas_board.c2
-rw-r--r--src/lib/eiotas_door.c2
-rw-r--r--src/lib/eiotas_iota.c3
-rw-r--r--src/lib/eiotas_link.c2
-rw-r--r--src/lib/eiotas_particle.c2
-rw-r--r--src/lib/eiotas_room.c2
6 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/eiotas_board.c b/src/lib/eiotas_board.c
index 57a7871..73d60c2 100644
--- a/src/lib/eiotas_board.c
+++ b/src/lib/eiotas_board.c
@@ -27,7 +27,7 @@ EAPI Eiotas_Board* eiotas_board_add(const char* name, Eiotas_Room *parent, Eiota
void eiotas_board_free(Eiotas_Board *board)
{
- DBG("Door free 0x%X",board);
+ DBG("Door free 0x%X",(unsigned int)board);
// TODO
}
diff --git a/src/lib/eiotas_door.c b/src/lib/eiotas_door.c
index 3acfb61..b5fb896 100644
--- a/src/lib/eiotas_door.c
+++ b/src/lib/eiotas_door.c
@@ -38,7 +38,7 @@ EAPI Eiotas_Door* eiotas_door_add(const char* name, Eiotas_Room *parent, Eiotas_
void eiotas_door_free(Eiotas_Door *door)
{
- DBG("Door free 0x%X",door);
+ DBG("Door free 0x%X",(unsigned int)door);
eiotas_iota_desinit(&door->iota);
door->user_bits.free_fct(door->user_bits.data);
diff --git a/src/lib/eiotas_iota.c b/src/lib/eiotas_iota.c
index 6763300..53bbbf8 100644
--- a/src/lib/eiotas_iota.c
+++ b/src/lib/eiotas_iota.c
@@ -82,6 +82,7 @@ void eiotas_iota_free(Eiotas_Iota *iota)
EAPI void eiotas_iota_show(Eiotas_Iota *iota)
{
- DBG("Iota(%d) 0x%X : %s (%s) [0x%X] {0x%X}",iota->type,iota,iota->name,iota->path,iota->parent,iota->spin);
+ DBG("Iota(%d) 0x%X : %s (%s) [0x%X] {0x%X}",iota->type,(unsigned int)iota,iota->name,iota->path,
+ (unsigned int)iota->parent,(unsigned int)iota->spin);
}
diff --git a/src/lib/eiotas_link.c b/src/lib/eiotas_link.c
index 8300e46..82a5128 100644
--- a/src/lib/eiotas_link.c
+++ b/src/lib/eiotas_link.c
@@ -21,7 +21,7 @@
void eiotas_link_free(Eiotas_Link *link)
{
- DBG("Link free 0x%X",link);
+ DBG("Link free 0x%X",(unsigned int)link);
// TODO
}
diff --git a/src/lib/eiotas_particle.c b/src/lib/eiotas_particle.c
index 0084948..769321e 100644
--- a/src/lib/eiotas_particle.c
+++ b/src/lib/eiotas_particle.c
@@ -28,7 +28,7 @@ Eiotas_Particle* eiotas_particle_alloc()
void eiotas_particle_free(Eiotas_Particle *particle)
{
- DBG("Particle free 0x%X",particle);
+ DBG("Particle free 0x%X",(unsigned int)particle);
free(particle);
}
diff --git a/src/lib/eiotas_room.c b/src/lib/eiotas_room.c
index d1e10e0..d939dc7 100644
--- a/src/lib/eiotas_room.c
+++ b/src/lib/eiotas_room.c
@@ -37,7 +37,7 @@ EAPI Eiotas_Room* eiotas_room_add(const char* name, Eiotas_Room *parent)
void eiotas_room_free(Eiotas_Room *room)
{
- DBG("Room free 0x%X",room);
+ DBG("Room free 0x%X",(unsigned int)room);
eiotas_iota_desinit(&room->iota);
// TODO room->links