diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-22 15:50:27 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-22 15:50:27 +0200 |
commit | ea9457699ba1eb2b01521bd2aecb15fa3488a633 (patch) | |
tree | a5631b9eef3d6b4e3bf9c01f5da819ff91424ca3 /src/lib/eiotas_iota.c | |
parent | e2e13629a7285fcaa84c52971315e6564dc19ef8 (diff) | |
download | edoors-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.c | 6 |
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)); } |