diff --git a/drivers/pn532/pn532.c b/drivers/pn532/pn532.c
index ffa38fb89abf33165f64d9844a516dae1d1accb2..908935709e2e2df2be531ee2983b229697ce9b80 100644
--- a/drivers/pn532/pn532.c
+++ b/drivers/pn532/pn532.c
@@ -80,7 +80,7 @@
 
 #if ENABLE_DEBUG
 #define PRINTBUFF printbuff
-static void printbuff(char *buff, unsigned len)
+static void printbuff(uint8_t *buff, unsigned len)
 {
     while (len) {
         len--;