diff options
author | Scott Long <scottl@FreeBSD.org> | 2002-08-31 01:04:53 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2002-08-31 01:04:53 +0000 |
commit | f1757c6ee71c4adc9acfa9c2ba98c75068ada082 (patch) | |
tree | be96c9905e45fd8534ae75c0345d8c4d8080e714 /sys/boot/ficl/prefix.c | |
parent | 88268f8f47effeb6456b846ae6dff6a1d92234d4 (diff) | |
download | src-f1757c6ee71c4adc9acfa9c2ba98c75068ada082.tar.gz src-f1757c6ee71c4adc9acfa9c2ba98c75068ada082.zip |
Make ficl work on sparc64. The assumption that int == long == void * is
very pervasive in this code. This fixes a few of those assumptions and
band-aids over some others.
Tested on: ia32 alpha sparc64
Reviewed by: peter jake (in concept)
Notes
Notes:
svn path=/head/; revision=102657
Diffstat (limited to 'sys/boot/ficl/prefix.c')
-rw-r--r-- | sys/boot/ficl/prefix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/ficl/prefix.c b/sys/boot/ficl/prefix.c index 447f740f82ec..a34fc6c78240 100644 --- a/sys/boot/ficl/prefix.c +++ b/sys/boot/ficl/prefix.c @@ -104,7 +104,7 @@ int ficlParsePrefix(FICL_VM *pVM, STRINGINFO si) vmSetTibIndex(pVM, si.cp + n - pVM->tib.cp ); vmExecute(pVM, pFW); - return FICL_TRUE; + return (int)FICL_TRUE; } pFW = pFW->link; } |