summaryrefslogtreecommitdiff
path: root/nuttx/drivers/mtd/m25px.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-16 23:23:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-16 23:23:46 +0000
commitcef4fec60cb7f31f81f887fcfd729be41662abb1 (patch)
tree0d46ddbbeaa56d21bde1660d97c4e34c31539f11 /nuttx/drivers/mtd/m25px.c
parent471b50c5f8f0f49ce8abfb8f0085d05cfe32edaa (diff)
downloadpx4-nuttx-cef4fec60cb7f31f81f887fcfd729be41662abb1.tar.gz
px4-nuttx-cef4fec60cb7f31f81f887fcfd729be41662abb1.tar.bz2
px4-nuttx-cef4fec60cb7f31f81f887fcfd729be41662abb1.zip
Clean-up from big switch to stdint/stdbool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2362 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/mtd/m25px.c')
-rw-r--r--nuttx/drivers/mtd/m25px.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/mtd/m25px.c b/nuttx/drivers/mtd/m25px.c
index 0899376d6..509b8302a 100644
--- a/nuttx/drivers/mtd/m25px.c
+++ b/nuttx/drivers/mtd/m25px.c
@@ -579,7 +579,7 @@ static int m25p_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
{
case MTDIOC_GEOMETRY:
{
- FAR struct mtd_geometry_s *geo = (FAR struct mtd_geometry_s *)((uintptr)arg);
+ FAR struct mtd_geometry_s *geo = (FAR struct mtd_geometry_s *)((uintptr_t)arg);
if (geo)
{
/* Populate the geometry structure with information need to know