summaryrefslogtreecommitdiff
path: root/nuttx/arch/mips/src/pic32mz/chip/pic32mz-pps.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/mips/src/pic32mz/chip/pic32mz-pps.h')
-rw-r--r--nuttx/arch/mips/src/pic32mz/chip/pic32mz-pps.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/mips/src/pic32mz/chip/pic32mz-pps.h b/nuttx/arch/mips/src/pic32mz/chip/pic32mz-pps.h
index 07370cb9d..f8419b1f0 100644
--- a/nuttx/arch/mips/src/pic32mz/chip/pic32mz-pps.h
+++ b/nuttx/arch/mips/src/pic32mz/chip/pic32mz-pps.h
@@ -73,8 +73,8 @@
* extract one or the other.
*/
-#define PPS_OUTPUT_REGADDR(a,b) (b)
-#define PPS_OTUPUT_REVAL(a,b) (a)
+#define PPS_OUTPUT_REGADDR(a,b) ((uintptr_t)(b))
+#define PPS_OUTPUT_REGVAL(a,b) ((uint32_t(a))
/********************************************************************************************
* Public Types