summaryrefslogtreecommitdiffstats
path: root/src/lib/eiotas_iota.c
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-22 15:50:27 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-22 15:50:27 +0200
commitea9457699ba1eb2b01521bd2aecb15fa3488a633 (patch)
treea5631b9eef3d6b4e3bf9c01f5da819ff91424ca3 /src/lib/eiotas_iota.c
parente2e13629a7285fcaa84c52971315e6564dc19ef8 (diff)
downloadedoors-ea9457699ba1eb2b01521bd2aecb15fa3488a633.zip
edoors-ea9457699ba1eb2b01521bd2aecb15fa3488a633.tar.gz
PRINTPTR macro replace pointer cast to unsigned int
Diffstat (limited to 'src/lib/eiotas_iota.c')
-rw-r--r--src/lib/eiotas_iota.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eiotas_iota.c b/src/lib/eiotas_iota.c
index b750599..79c45b2 100644
--- a/src/lib/eiotas_iota.c
+++ b/src/lib/eiotas_iota.c
@@ -78,14 +78,14 @@ void eiotas_iota_free(Eiotas_Iota *iota)
eiotas_board_free((Eiotas_Board*)iota);
break;
default:
- CRITICAL("SPANK SPANK: 0x%X type %d is unknown, memory leak",(unsigned int)iota,iota->type);
+ CRITICAL("SPANK SPANK: 0x%X type %d is unknown, memory leak",PRINTPTR(iota),iota->type);
break;
}
}
EAPI void eiotas_iota_show(Eiotas_Iota *iota)
{
- 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);
+ DBG("Iota(%d) 0x%X : %s (%s) [0x%X] {0x%X}",iota->type,PRINTPTR(iota),iota->name,iota->path,
+ PRINTPTR(iota->parent),PRINTPTR(iota->spin));
}