From 4b6d304c801a0675fb32debb594149c67b469142 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 21 Dec 2016 16:38:02 +0000 Subject: [PATCH] mtd: cast pointers to kernel_ureg_t instead of unsigned long * mtd.c (decode_mtd_oob_buf): Cast mtd_oob_buf.ptr pointer to kernel_ureg_t instead of unsigned long. --- mtd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtd.c b/mtd.c index 4442b1cc..8abef7dc 100644 --- a/mtd.c +++ b/mtd.c @@ -84,7 +84,7 @@ decode_mtd_oob_buf(struct tcb *tcp, const long addr) return; tprintf("{start=%#x, length=%#x, ptr=", mbuf.start, mbuf.length); - printaddr((unsigned long) mbuf.ptr); + printaddr((kernel_ureg_t) mbuf.ptr); tprints("}"); } -- 2.40.0