summaryrefslogtreecommitdiff
path: root/misc/pascal/insn16/prun
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-07 01:49:38 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-07 01:49:38 +0000
commit02665f6061ac2edd5f22a43ab016067fe6f15d81 (patch)
tree283523f3fe221179626dff7375d57e539b886bcb /misc/pascal/insn16/prun
parentf2ac07effed03e8b4910baeabde79f42e6455cdd (diff)
downloadpx4-nuttx-02665f6061ac2edd5f22a43ab016067fe6f15d81.tar.gz
px4-nuttx-02665f6061ac2edd5f22a43ab016067fe6f15d81.tar.bz2
px4-nuttx-02665f6061ac2edd5f22a43ab016067fe6f15d81.zip
changes for build with SDCC toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@657 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/pascal/insn16/prun')
-rw-r--r--misc/pascal/insn16/prun/pexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/pascal/insn16/prun/pexec.c b/misc/pascal/insn16/prun/pexec.c
index 0c099d298..10204ae3c 100644
--- a/misc/pascal/insn16/prun/pexec.c
+++ b/misc/pascal/insn16/prun/pexec.c
@@ -308,7 +308,7 @@ static uint16 pexec_libcall(struct pexec_s *st, uint16 subfunc)
ubyte *dest;
ubyte *name;
int len;
- int value;
+ sint32 value;
switch (subfunc)
{
@@ -599,7 +599,7 @@ static uint16 pexec_libcall(struct pexec_s *st, uint16 subfunc)
len = TOS(st, 2); /* Number of bytes in string */
src = (ubyte*)&GETSTACK(st, TOS(st, 3)); /* Pointer to string */
-
+
/* Make a C string out of the pascal string */
name = pexec_mkcstring(src, len);