summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-19 15:12:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-19 15:12:13 +0000
commit71075f37bd4cb6a9f65f2e86ff0b1b19f518d166 (patch)
treea55f2a5ec1ff07d398bf03b3aaf586fce9467bce /nuttx/examples/nsh/nsh.h
parent6667ff8f6a7d35dfecb9f3d396da3afa20aa853b (diff)
downloadpx4-nuttx-71075f37bd4cb6a9f65f2e86ff0b1b19f518d166.tar.gz
px4-nuttx-71075f37bd4cb6a9f65f2e86ff0b1b19f518d166.tar.bz2
px4-nuttx-71075f37bd4cb6a9f65f2e86ff0b1b19f518d166.zip
Fixes for clean compile w/o environment variables
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@941 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/nsh.h')
-rw-r--r--nuttx/examples/nsh/nsh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/examples/nsh/nsh.h b/nuttx/examples/nsh/nsh.h
index 7626a4e3c..b98cec49b 100644
--- a/nuttx/examples/nsh/nsh.h
+++ b/nuttx/examples/nsh/nsh.h
@@ -184,7 +184,7 @@
/* Stubs used when working directory is not supported */
#if CONFIG_NFILE_DESCRIPTORS <= 0 || defined(CONFIG_DISABLE_ENVIRON)
-# define nsh_getfullpath(v,p) (p)
+# define nsh_getfullpath(v,p) ((char*)(p))
# define nsh_freefullpath(p)
#endif